[MASTER][BETA] Fix Regex on Referrers REF: #277

This commit is contained in:
Mitchell Krog 2019-07-01 12:21:44 +02:00
parent 5204d3d205
commit e70a111c38
No known key found for this signature in database
GPG key ID: C243C388553EDE5D
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -85,7 +85,7 @@ 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";
}
$this->writeToFile($file, $data);
}