FIX Regex on Word Boundaries (5)

This commit is contained in:
Mitchell Krog 2017-10-02 14:35:55 +02:00
parent 6f421891f8
commit 7b58590e8c
No known key found for this signature in database
GPG key ID: 2BB9A077C8DD6994

View file

@ -85,7 +85,8 @@ class Generator
{
foreach ($lines as $line) {
//$data .= "\"~*" "\\" "b" . preg_quote($line) . "\\" "b" "\" \t1;\n";
$data .= "\" . "~*\\" . 'b' . preg_quote($line) . "\" . '\\' . 'b' "\" "\t1;\n";
//$data .= "\" . "~*\\" . 'b' . preg_quote($line) . "\" . '\\' . 'b' "\" "\t1;\n";
$data .= "\" . "~\" . '\b' . preg_quote($line) . "\" . '\' . '\b' "\t1;\n";
}
$this->writeToFile($file, $data);
}