Open ministe2003 opened 4 months ago
Thanks for this extension. How can I make the regex case insensitive? I've tried the following but can't get it to work:
regex": "^\\w*PROD$", "flags": "i",
"regex": "^(?i)\\w*prod$", "regex": "^\\w*(?i)prod$", (Those two actually cause the whole extension to stop working)
"regex": "^(?i)\\w*prod$",
"regex": "^\\w*(?i)prod$",
and a whole lot of others around adding /i at the end and attempting to escape that in a number of ways.
The only way I can get it to work is "regex": "^(\\w*[pP][rR][oO][dD])$", which I really don't like!
"regex": "^(\\w*[pP][rR][oO][dD])$",
Thanks for this extension. How can I make the regex case insensitive? I've tried the following but can't get it to work:
"regex": "^(?i)\\w*prod$",
"regex": "^\\w*(?i)prod$",
(Those two actually cause the whole extension to stop working)and a whole lot of others around adding /i at the end and attempting to escape that in a number of ways.
The only way I can get it to work is
"regex": "^(\\w*[pP][rR][oO][dD])$",
which I really don't like!