cql-engine
cql-engine copied to clipboard
Matches behavior
The following expression returns false:
define MatchesFalse: Matches('1,2three', '\w+')
Why?
This is a Java thing. '\' is a special character in Java land and must be escaped. Try: define MatchesFalse: Matches('1,2three', '\\w+')
@brynrhodes : was my explanation satisfactory or is there some further action required to resolve this issue?
Still doesn't match, even though online regex matching testers indicate it should:
define MatchesTest: Matches('1,2three', '\w+')