This commit is contained in:
1 parent
bbd0d3e4f7
commit
339dc709da
3 files changed
+3
-3
No files matched your search
@@ -137,7 +137,7 @@ const Plugin = () => {
|
||||
|
||||
this.setRegex = function(input)
|
||||
{
|
||||
input = input.replace(/^[^\w]+|[^\w]+$/g, "").replace(/[^\w'-]+/g, "|");
|
||||
input = input.trim().replace(/\s/g, "|");
|
||||
matchRegex = new RegExp("(" + input + ")","i");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user