Skip to content
Discussion options

You must be logged in to vote

Hey @tansifanzar, thanks for the question.

First, I would try to use a single regex to capture what you need. What happens right now with your chain of commands and the conditional if inside the match rule means it will be very difficult to trace back what was actually matched when your matcher applies.

Second, you can test out regular expressions with an online tool. I usually use www.regex101.com. There you type your regex at the top, type in an example in the box below, and you'll see an explanation of what your regular expression is doing on the right.

Given all that, what you might want is a regular expression like logistic\S+ which will match the string logistic, then any non-whites…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polm
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
2 participants