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
Allow to provide test cases that must not be matched #16
Comments
First I want to say thank you for this wonderful library, super interesting. Shomehow realted to this... how feasible would be to provide "matching text + context" so the regex can generalize? Imagine a user has a collection of texts like this, one line is one different text:
I would like to make a toy UI where the user can select with the mouse just "one" and "blue" so the system could return:
That would be possible if |
Thanks for your idea @crispamares. There is actually a lot of potential in a tool like this. I don't know yet what to implement for the next version but I will keep your suggestion in mind. |
Currently, only test cases that must be matched by the generated regular expression can be provided. It would be useful to additionally provide test cases that must not be matched by the generated expression. In combination with shorthand character classes this would allow for more specific and versatile regular expressions.
The text was updated successfully, but these errors were encountered: