Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for mutable strings #14

Open
revolter opened this issue Jun 24, 2015 · 3 comments
Open

Add support for mutable strings #14

revolter opened this issue Jun 24, 2015 · 3 comments

Comments

@revolter
Copy link
Contributor

It would be nice if replacement methods would work on mutable strings too.

@NoPPT
Copy link

NoPPT commented Aug 4, 2015

Can do this?
NSArray* pieces = [@"A dog,cat" split:RX(@"[ ,]")]; // => @[ RxMatch, RxMatch ]

@revolter
Copy link
Contributor Author

revolter commented Aug 4, 2015

I don't understand. I was referring to something like

NSMutableString *test = [NSMutableString stringWithString:@"test"];

[test replace:RX(@"t") withString:@"X"]; // XesX

@NoPPT
Copy link

NoPPT commented Aug 4, 2015

I'm sorry, I reply to the wrong place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants