Merge pull request #537 from mmmdbybyd/dev

修复Stash无法获取订阅
This commit is contained in:
tokumeikoi 2022-10-12 02:01:53 +08:00 committed by GitHub
commit 1ecf7120fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {