Add the missing $this->isRegexe()

This commit is contained in:
mmmdbybyd
2022-09-22 15:11:08 +08:00
committed by GitHub
parent b6085fd34d
commit 82a20ff72c

View File

@ -154,6 +154,11 @@ class Stash
return $array;
}
private function isRegex($exp)
{
return @preg_match($exp, null) !== false;
}
private function isMatch($exp, $str)
{
try {