From 981518d82f2cbf9b36891624cab8b84e7f933174 Mon Sep 17 00:00:00 2001 From: Roy Duineveld Date: Fri, 26 Oct 2018 13:41:14 +0200 Subject: [PATCH] Bugfix (#290) --- src/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Manager.php b/src/Manager.php index 03db60dd..9b16e430 100644 --- a/src/Manager.php +++ b/src/Manager.php @@ -170,7 +170,7 @@ public function findTranslations( $path = null ) "[\),]"; // Close parentheses or new parameter $stringPattern = - "[^\w|>]" . // Must not have an alphanum or _ or > before real method + "[^\w]" . // Must not have an alphanum before real method '(' . implode( '|', $functions ) . ')' . // Must start with one of the functions "\(" . // Match opening parenthesis "(?P['\"])" . // Match " or ' and store in {quote}