I can do this which covers all extensions I am looking to catch with this object just not case INSENSITIVE.
.*\.(ps|ps1|scr|vbs|bat|cmd|com|cpl|gadget|msc|msi|msp|pif)$
so test.bat is caught, test.Bat is not.
I tried this:
/.*\.(ps|ps1|scr|vbs|bat|cmd|com|cpl|gadget|msc|msi|msp|pif)$/i
While it will take it, it is not ignoring case.
Also tried:
{caseless}:.*\.(ps|ps1|scr|vbs|bat|cmd|com|cpl|gadget|msc|msi|msp|pif)$
based on some checkpoint document I found from years ago, but the GUI won't accept that and says it is not a proper regex.
Thanks for any information anyone has on this.