FIX Regex for Word Boundaries on Bad Referrers - PATCH by @funilrys

This commit is contained in:
Mitchell Krog 2017-10-02 15:42:06 +02:00
parent 83afe11f6d
commit 6d5b5e5dff
No known key found for this signature in database
GPG key ID: 2BB9A077C8DD6994

View file

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