From f4ab018e2e2ae7d0bd03a0fa084041968bc1a338 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 4 Jul 2015 12:25:21 +0930 Subject: [PATCH] Clean up Goddammit GitHub for Mac --- .../Search/Gambits/RegexGambit.php | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 framework/core/src/Core/Discussions/Search/Gambits/RegexGambit.php diff --git a/framework/core/src/Core/Discussions/Search/Gambits/RegexGambit.php b/framework/core/src/Core/Discussions/Search/Gambits/RegexGambit.php deleted file mode 100644 index 45933bd27..000000000 --- a/framework/core/src/Core/Discussions/Search/Gambits/RegexGambit.php +++ /dev/null @@ -1,24 +0,0 @@ -match($bit)) { - list($negate) = array_splice($matches, 1, 1); - $this->conditions($searcher, $matches, !! $negate); - return true; - } - } - - protected function match($bit) - { - if (preg_match('/^(-?)'.$this->pattern.'$/i', $bit, $matches)) { - return $matches; - } - } - - abstract protected function conditions(SearcherInterface $searcher, array $matches, $negate); -}