Closed yuripourre closed 3 years ago
Candidates: https://github.com/VerbalExpressions/JavaVerbalExpressions
Or more heavyweight: https://github.com/sgreben/regex-builder
It was done when the persistent database was included: https://www.javadoc.io/doc/org.dizitart/nitrite/3.0.0/org/dizitart/no2/Filter.html
Turn existing matchers into query matchers
sequence(eq("quanto"),or(eq("é"),eq("custa")), optional ("isso"))
The next matcher is only evaluated when the first is satisfied.
Ideally they could be translated to a standard regex pattern.
They would be super useful if work with a list of tokens (Tokenizer).