MODULES-1248 Fix issue with not properly counting regex matches with legacy versions of ruby
Merge pull request #321 from cyberious/4.3.x

MODULES-1248 Fix issue with not properly counting regex matches with leg...