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