Skip to content

Commit 203793b

Browse files
committed
update comment
1 parent e47fa0f commit 203793b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Manager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ public function collectFromViews()
261261
$functions = ['trans', 'trans_choice', 'Lang::get', 'Lang::choice', 'Lang::trans', 'Lang::transChoice', '@lang', '@choice'];
262262

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

0 commit comments

Comments
 (0)