Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Apr 13, 2016
1 parent e47fa0f commit 203793b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ public function collectFromViews()
$functions = ['trans', 'trans_choice', 'Lang::get', 'Lang::choice', 'Lang::trans', 'Lang::transChoice', '@lang', '@choice'];

$pattern =
// See https://regex101.com/r/jS5fX0/1
'[^\w|>]'. // Must not start with any alpha numeric character or underscore
// See https://regex101.com/r/jS5fX0/2
'[^\w|>]'. // Must not start with any alphanum or _ or >
'('.implode('|', $functions).')'.// Must start with one of the functions
"\(".// Match opening parentheses
"[\'\"]".// Match " or '
Expand Down

0 comments on commit 203793b

Please sign in to comment.