Bug fix and unit test for edge case failure in findText() when using a regex
Merge branch 'bendemboski-FindTestRegexFix'