fixed regular expression bug which breaks fuzzy matching.