agarzola/jQueryAutocompletePlugin — Issue #28: matchContains = "word" is not working with international codings
Author: akolpakov
Created: 2012-01-16 10:08:22+00:00
State: open

if (options.matchContains == "word"){
i = s.toLowerCase().search("\\b" + sub.toLowerCase());
}

this part of code is not working properly. Regexp symbol \b does not support encodings except ascii.