Closed mikegowen closed 6 years ago
It is supposed to check for uppercase _E_s as well. Patch 0e72735c442f4 makes this clearer.
but then you'd probably want to include it in the "hottentottententen" snippet as well, no?
No, for that regexp the i
flag wouldn't change its meaning at all.
In the solution for Regexp Golf, in the last snippet...
You don't need the
i
option, at least for those test strings. You could make the argument that you'd want it for testing strings outside of the ones provided, but then you'd probably want to include it in the "hottentottententen" snippet as well, no?