Overview
This Plug-in exposes Java Regular Expression string manipulation capabilities as Appian Functions. Very useful for validation rules and data manipulation on interactive SAIL forms.
Key Features & Functionality
Datatypes provided:
Regex Flags supported:
Functions provided:
Also, matching does not appear to be case-sensitive even when the regular expression pattern asks for case sensitivity. For example, both of the following expressions return true when they should return false.
regexmatch( "^[a-z]{3}$", "ABC")
regexmatch( "^[A-Z]{3}$", "abc")
I know this is an older post, but it's worth noting that the original / legacy functions a have case insensitivity hardcoded in the plugin. There is a way round this in suffixing the pattern with the java case-sensitive flag but it's not ideal.
The last one did the trick. Thanks!
Hi Shawn Bittinger,
I can't find my original documentation and I don't have a site with the old version of the regular expression plugin installed, but it looks like it's a prefix rather than a suffix (my mistake!). I think your regular expression should be:
"(?c)^[A-Z]{3}$"
If that doesn't work you could try this:
"(?-i)^[A-Z]{3}$"
Let me know how you get on!