I have some troubles in finding the correct syntax to use
when defining a context via regular expressions. I’m talking
of constructs of the form
{“key” : “preceding_text”, “operator” : “regex_contains”, “operand” : “.*\s$”, “match_all”: true}
I want to check if preceding_test ends with a space or not.
But $ is not the correct wildchar to use to mark the end of
preceding_text. What should I use? Where can I find
details/rich examples of this kind of constructs?
Also, \s (for space) gives an error and I must use \s
but \n or \t do not give errors. Why?
Thank you all for your patience
Piero