Hello,
I am trying to use a regexMatch in a Relevance equation to trigger the presentation of checkboxes. I want to use the i (case insensitive) option on the expression but when I enter it into the Conditions designer the returned expression is bounded automatically by the delimiters '/'.
The regular expression I am trying to run is:
/(?:^|(?<= ))(show|privatize|worried)(?Image may be NSFW.
Clik here to view.
?= )|$)/i
When I enter that into the Conditions designer it gets appended (and returned) to be:
((regexMatch("//(?:^|(?<= ))(show|privatize|worried)(?Image may be NSFW.
Clik here to view.
?= )|$)/i/", G3Q00051.NAOK)))
I want it to be:
((regexMatch("/(?:^|(?<= ))(show|privatize|worried)(?Image may be NSFW.
Clik here to view.
?= )|$)/i", G3Q00051.NAOK)))
Any ideas???
I am trying to use a regexMatch in a Relevance equation to trigger the presentation of checkboxes. I want to use the i (case insensitive) option on the expression but when I enter it into the Conditions designer the returned expression is bounded automatically by the delimiters '/'.
The regular expression I am trying to run is:
/(?:^|(?<= ))(show|privatize|worried)(?Image may be NSFW.
Clik here to view.

When I enter that into the Conditions designer it gets appended (and returned) to be:
((regexMatch("//(?:^|(?<= ))(show|privatize|worried)(?Image may be NSFW.
Clik here to view.

I want it to be:
((regexMatch("/(?:^|(?<= ))(show|privatize|worried)(?Image may be NSFW.
Clik here to view.

Any ideas???