Explorar o código

Merge pull request #537 from mmmdbybyd/dev

修复Stash无法获取订阅
tokumeikoi %!s(int64=2) %!d(string=hai) anos
pai
achega
1ecf7120fe
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      app/Http/Controllers/Client/Protocols/Stash.php

+ 5 - 0
app/Http/Controllers/Client/Protocols/Stash.php

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