Skip to content

Commit

Permalink
Update Manager.php
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Oct 26, 2018
1 parent 981518d commit c9d5b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function findTranslations( $path = null )
$stringKeys = [];
$functions = $this->config[ 'trans_functions' ];

$groupPattern = // See http://regexr.com/392hu
$groupPattern = // See https://regex101.com/r/WEJqdL/6
"[^\w|>]" . // Must not have an alphanum or _ or > before real method
'(' . implode( '|', $functions ) . ')' . // Must start with one of the functions
"\(" . // Match opening parenthesis
Expand Down

0 comments on commit c9d5b7d

Please sign in to comment.