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
[ ["@$$f@ce"], ["@$$h0le"], ["@$$he@d"], ["@$$hole"], ["@$$hols"], ]
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
Got a fix for this.
Add the following function:
function escapeRegExp(str) { return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); }
Find the regex that is doing the string replace, I used the non-minified version and replace it with the following (around line 161):
re = new RegExp('\\b' + escapeRegExp(badWords[i]) + '\\b', 'gi');
@2gen would you drop a PR on this? I'd be happy to accept.
No branches or pull requests
[
["@$$f@ce"],
["@$$h0le"],
["@$$he@d"],
["@$$hole"],
["@$$hols"],
]
The text was updated successfully, but these errors were encountered: