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

Implement rangesOfRegex:... method #1

Closed
samkrishna opened this issue Jun 22, 2017 · 2 comments
Closed

Implement rangesOfRegex:... method #1

samkrishna opened this issue Jun 22, 2017 · 2 comments

Comments

@samkrishna
Copy link
Owner

Write a method to match ALL of the ranges of instances of a regex within a string.

This way it will be easier to enumerate through either the regexes or the substrings separated by the regex.

@samkrishna
Copy link
Owner Author

This actually isn't needed now b/c of NSRegularExpression's -matchesInString:options:range: method.

@samkrishna
Copy link
Owner Author

samkrishna commented Jun 28, 2017

Re-opening with a test case. Turns out there may be one API-level reason to have it, so it's going back in.

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

1 participant