Skip to content
Discussion options

You must be logged in to vote

Also, to clarify:

My expectations are that the "match 0 times" token with OP "!" would cause the first example to produce no matches.

This is not correct, the output is as expected. You can remove token1 from the text and it will still work, because token2 is not token1 (matches ! rule), token2 is present zero times after that (matches ? rule), and token3 is next (matches final rule).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@galtay-tempus
Comment options

Answer selected by galtay-tempus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / matcher Feature: Token, phrase and dependency matcher
3 participants
Converted from issue

This discussion was converted from issue #9689 on November 18, 2021 07:31.