CONTRIB-5175 phpcs: control some /e false matches

Now we verify that the valid regular expression has 2 parts
and the 2nd one includes the "e" modifier. Previously any "e" character
in a valid regular expression was being detected as "e" modifier.
Tests included.