matchContains = "word" is not working with international codings #28

Open
akolpakov opened this Issue Jan 16, 2012 · 0 comments

1 participant

@akolpakov

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment