added support for "fuzzy" word search -- ported from issue #858