Details
Description
It seems like the system takes the regex and lowercases it before running against the string in question, but this changes the meaning of the regex.
For example:
/(Bob|Carol|Ted|Alice)/
won't actually catch Bob in the string "I sent it to Bob on Jan 24.", because the regex being applied is
/(bob|carol|ted|alice)/
If the intention was to have all regexes be run case-insensitively, then I think it's better just to let the user add the "i" switch to the regex themselves if that's what they want.