diff --git a/app/Http/Controllers/Client/Protocols/Stash.php b/app/Http/Controllers/Client/Protocols/Stash.php index 4d9e42bb..bef890dd 100644 --- a/app/Http/Controllers/Client/Protocols/Stash.php +++ b/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 {