We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
preg_quote
#
1 parent 275bf55 commit 9ce89c8Copy full SHA for 9ce89c8
src/Codeception/Lib/Connector/Yii2.php
@@ -221,7 +221,7 @@ private function getDomainRegex($template)
221
$template = preg_replace_callback(
222
'/<(?:\w+):?([^>]+)?>/u',
223
function ($matches) use (&$parameters) {
224
- $key = '#' . count($parameters) . '#';
+ $key = '__' . count($parameters) . '__';
225
$parameters[$key] = isset($matches[1]) ? $matches[1] : '\w+';
226
return $key;
227
},
0 commit comments