Skip to content
This repository has been archived by the owner on Mar 16, 2018. It is now read-only.

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

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

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

akolpakov opened this issue Jan 16, 2012 · 0 comments

Comments

@akolpakov
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant