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