derp
This commit is contained in:
parent
71cdaabc48
commit
a8d4f652cc
@ -793,9 +793,7 @@
|
||||
return "\\" + c;
|
||||
}
|
||||
});
|
||||
if (type !== 'md5') {
|
||||
re = "/^" + re + "$/";
|
||||
}
|
||||
re = type === 'md5' ? "/" + value + "/" : "/^" + re + "$/";
|
||||
if (/\bop\b/.test(post["class"])) {
|
||||
re += ';op:yes';
|
||||
}
|
||||
|
||||
@ -656,7 +656,11 @@ Filter =
|
||||
else
|
||||
"\\#{c}"
|
||||
|
||||
re = "/^#{re}$/" unless type is 'md5'
|
||||
re =
|
||||
if type is 'md5'
|
||||
"/#{value}/"
|
||||
else
|
||||
"/^#{re}$/"
|
||||
if /\bop\b/.test post.class
|
||||
re += ';op:yes'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user