We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filtering words with a "." or any of these escaped characters:
s = s.replace(/[-[\]{}()*+?.,\\^$|#]/g, '\\$&') // Escape regular expression characters
leads to empty result. I seems to me that the search string is treated like a regex but them used like a regular string:
if (text.toLowerCase().indexOf(words[i]) !== -1)
Am I missing something?
The text was updated successfully, but these errors were encountered:
Duplicate of #699
Sorry, something went wrong.
No branches or pull requests
Filtering words with a "." or any of these escaped characters:
s = s.replace(/[-[\]{}()*+?.,\\^$|#]/g, '\\$&') // Escape regular expression characters
leads to empty result.
I seems to me that the search string is treated like a regex but them used like a regular string:
if (text.toLowerCase().indexOf(words[i]) !== -1)
Am I missing something?
The text was updated successfully, but these errors were encountered: