mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
Add the missing $this->isRegexe()
This commit is contained in:
parent
b6085fd34d
commit
82a20ff72c
@ -154,6 +154,11 @@ class Stash
|
||||
return $array;
|
||||
}
|
||||
|
||||
private function isRegex($exp)
|
||||
{
|
||||
return @preg_match($exp, null) !== false;
|
||||
}
|
||||
|
||||
private function isMatch($exp, $str)
|
||||
{
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user