bug fix: String patterns containing the plus symbol (+) are now escaped for use in the regular expression.