Skip to content

Commit a0fa5c8

Browse files
author
Eugene Tupikov
committed
Use PCRE_MULTILINE modifier in regex
1 parent b483b48 commit a0fa5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BaseRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ protected function collectJsTemplates($except = [])
198198
if (array_key_exists($key, $except)) {
199199
continue;
200200
}
201-
if (preg_match('/^[^{]+{multiple-index}.*$/', $js) === 1) {
201+
if (preg_match('/^[^{]+{multiple-index}.*$/m', $js) === 1) {
202202
$output[$key] = $js;
203203
unset($view->js[View::POS_READY][$key]);
204204
}

0 commit comments

Comments
 (0)