While working on ENG-8263, I noticed we have this defined in three different places, in slightly different (but equivalent) ways.
In one case we separately enumerate A-Z and a-z as options, whereas in the other case we just use a-z and add the suffix i to indicate that the match is case-insensitive.
This diff dedups the three RegExps. I opted to standarize on the approach that avoids the i modifier, since I needed to represent the RegExp in raw string form for one usage.