0

Regex Modifiers

I was traipsing through a Canary system I inherited and found a Model Rule with a match field of

 (?i)##1$

I did not know you could do regex flags like that! Can you use any of the .net modifiers? https://learn.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-options

If I just do (?<whatever>) at the beginning of the field, will that work?

4 replies

null

Content aside

print this pagePrint this page
  • 16 hrs agoLast active
  • 4Replies
  • 7Views
  • 2 Following