mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
FIX Regex on Word Boundaries (5)
This commit is contained in:
parent
6f421891f8
commit
7b58590e8c
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue