-
Notifications
You must be signed in to change notification settings - Fork 48
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
How can I get the matched range? #26
Comments
Hi @singno! This is something I've considered, however I'd like to talk about concrete use cases before adding it. Would you mind elaborating on your use case? |
Just FYI, I ended up adding a range property to MatchResult as part of #31. If you think there's a compelling use case for it beyond find and replace, I'll definitely consider going ahead and making it public! |
It sounds great! And sometimes I want to replace part of NSAttributedString, would you also support this use cases? |
@singno I've just released version 0.3.1 which includes range replacement methods. At this stage I think However, it may be worth exposing a |
|
No description provided.
The text was updated successfully, but these errors were encountered: