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:
Hi Sergior,
Thanks for bringing this to my attention, all of those log output should have been removed in the previous version. I've just submitted a new version with that last logging line removed, so once the plugin is approved you should be be in good shape.
Thanks
Just a comment, this behaviour is identified in regexInsertMatchMarkers
Hi Chris,
First of all, thanks for your plugin, it is very useful.
Just one question, when we use the plugin, we notice that we have a lot of data in the Appian Log due to the plugin, I suppose that you have in the code a System.out.println.
I don't know if that behaviour is correct, but I think a good practice is to avoid writing directly in log. Maybe, in case you want to add info into the log, you can add a new param like "activeLog" true or false.
Do you think that we could have that behaviour or maybe to avoid the insertion into log?
Regards
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!
HI philb - What was the java case-sensitive flag suffix you were adding to get this to work. For example, I added the following and it is still coming up as true.
regexmatch( "^[A-Z]{3}$(?c)", "abc")
Hi ,
The new version's been listed. The typo in regexMatch has been fixed, and the regexFlags is optional and default to the values used behind the scenes in version 1.0, so you should be able to use those functions again without changes.
Great, thanks!
Hi , The reason I renamed the functions was simply to allow people to call the old versions of the functions. You are correct though, I'll fix the backward compatibility. As for the regexIsMatch vs regexmatch; it should have been regexmatch, the underlying function has a different name so that was a typo.
I should also add that there isn't a legacy function called fn!regexIsMatch - it's fn!regexmatch