-
Notifications
You must be signed in to change notification settings - Fork 8
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
RemoveAll() function #201
Comments
I guess this could be useful more generally.
Would such a changed semantics also be useful to you if it got added as a pre-defined action? I think we probably also should provide more documentation for users on how to implement their own actions. |
Thanks for the feedback, your suggestions sound like the best approach. Yes, extra documentation would be nice, but I guess it's not too hard to work out and not meant to cover all niche uses. N |
Is your feature request related to a problem? Please describe.
I would like to clean up annotations that are used to define more specific things. Complex patterns of variable repeating sections may contain a varying number of annotation types, hence specifying each name/result/match index is not always possible. Once the whole section of text has been annotated removal of all, or some, of these sub annotations would be good, to avoid inadvertent matching later.
In Java I was using something like:
Describe the solution you'd like
A RemoveAll() function where any number of annotation types or names can be specified.
This seems to work, it may be of interest to others:
The text was updated successfully, but these errors were encountered: