Sfoglia il codice sorgente

Merge pull request #537 from mmmdbybyd/dev

修复Stash无法获取订阅
tokumeikoi 2 anni fa
parent
commit
1ecf7120fe
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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;
         return $array;
     }
     }
 
 
+    private function isRegex($exp)
+    {
+        return @preg_match($exp, null) !== false;
+    }
+
     private function isMatch($exp, $str)
     private function isMatch($exp, $str)
     {
     {
         try {
         try {