FIX Regex on Word Boundaries (4)

This commit is contained in:
Mitchell Krog 2017-10-02 14:22:05 +02:00
parent dd94e62ad6
commit 5d4fd73848
No known key found for this signature in database
GPG key ID: 2BB9A077C8DD6994

View file

@ -84,7 +84,8 @@ class Generator
$data = ""; $data = "";
{ {
foreach ($lines as $line) { 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";
} }
$this->writeToFile($file, $data); $this->writeToFile($file, $data);
} }