Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
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!