slash escape

This commit is contained in:
TomasVotruba 2021-04-29 16:52:43 +02:00
parent 176258ce5c
commit 61d9704afd

View File

@ -77,8 +77,9 @@ return [
return $content;
}
// @see https://regex101.com/r/gLefQk/1
return Strings::replace(
$content, '#\(\'rector/rector\'\)#',
$content, '#\(\'rector\/rector\'\)#',
"('rector/rector-prefixed')"
);
},