Skip to content

Commit c507d6d

Browse files
committed
update regex
1 parent bf96a97 commit c507d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public function collectFromViews()
262262

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

0 commit comments

Comments
 (0)