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

akolpakov opened this Issue Jan 16, 2012 · 0 comments

1 participant


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