Bug 861108 - remove the regex for checking latin letter

use whitespace \s to determine a word's bundary instead.
Merge pull request #9183 from evelynhung/issue-861108-v1.0.1

Bug 861108 - fix the regex for checking latin letter