SAINT classification rule builder - allow case insensitive regex | Community
Skip to main content
astroup
New Participant
April 29, 2016
New

SAINT classification rule builder - allow case insensitive regex

  • April 29, 2016
  • 5 replies
  • 3801 views

For example, on rubular.com using the regular expression /TestString/i matches teststring and TestString and TeSTstriNG

 

Would also like to have \L lowercase regex replacements in an Adobe Classification Rule Builder rule.  For example, match $1 and lowercase it.

http://www.regular-expressions.info/replacecase.html

5 replies

Community Manager
October 5, 2022
No text available
jantzen_b
Employee
October 27, 2020
No text available
New Participant
August 5, 2016

I too would also like options to lowercase/uppercase values.  And lookup tables!  CRBs can use a lot more love, and it really wouldn't take a whole lot of effort to for a lot of features that would make everybody's lives so much easier. 

New Participant
August 5, 2016

shortly after CRB was introduced, I reported a bug to CC that the regex popup (where you specify the regex and example to test against) was in fact case-insensitive, but the CRB was case-sensitive when actually processing the rule.  

 

So for example, you could have a regex of  "foo" and the tester would in fact match "FOO".  But when you went to the main tester (where you can test lots of keys against all of the rules), it matched it case-sensitive, and the CRB itself processed as such.  

 

When I reported this to CC, I asked them to either add a flag to specify case sensitivity, or failing that, make the process itself case-insensitive.  But when they fixed it, they did neither.  Instead, they made the rule popup case-sensitive. I followed up with them asking (begging) them to do it as I suggested, but was basically blown off.  

 

I don't understand why this isn't a thing.  It's literally the easiest thing in the world to add, and "priority vs. other things" is not an excuse because  they made the time to "fix" (break it more, IMO) when it was brought up. 

 

Sorry this turned into a rant.  But just wanted to put some weight/pressure on this since it's not some random idea with no prior history. 

Andrew_Wathen_
New Participant
May 9, 2016

Ability to lowercase stuff would definitely be useful