-
Notifications
You must be signed in to change notification settings - Fork 654
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
Match Syntax: Multiple not-words #997
Labels
Comments
yeah - console.log(nlp.parseMatch('match !(foo|bar){0,3}')) happy to take a look at this |
fixed on dev |
Merged
fixed in 14.9.0 |
thank you so much for this fix @spencermountain -- it will make my life much easier! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The match-syntax
!foo{0,5}
works well for matching: any word (except for the wordfoo
) 0-5 timesIs there any match syntax for expanding this to multiple not-want words?
I have tried:
!(foo|bar){0,5}
(!foo|!bar){0,5}
(!foo && !bar){0,5}
Here's some playing around:
Output
I'm failing to get an output where all three sentences get ✅ for a pattern...
The text was updated successfully, but these errors were encountered: