|
@@ 407-409 (lines=3) @@
|
| 404 |
|
if(empty($m) or ($p = strpos($m, '=')) == 0 or $p < 5){$y[$x] = 1; continue;} |
| 405 |
|
$y[$x][strtolower(substr($m, 0, $p))] = str_replace(array("\x01", "\x02", "\x03", "\x04", "\x05", "\x06", "\x07", "\x08"), array(";", "|", "~", " ", ",", "/", "(", ")"), substr($m, $p+1)); |
| 406 |
|
} |
| 407 |
|
if(isset($y[$x]['match']) && !hl_regex($y[$x]['match'])){unset($y[$x]['match']);} |
| 408 |
|
if(isset($y[$x]['nomatch']) && !hl_regex($y[$x]['nomatch'])){unset($y[$x]['nomatch']);} |
| 409 |
|
} |
| 410 |
|
if(!count($y) && !count($n)){continue;} |
| 411 |
|
foreach(explode(',', substr($w, 0, $e)) as $v){ |
| 412 |
|
if(!strlen(($v = strtolower($v)))){continue;} |
|
@@ 408-410 (lines=3) @@
|
| 405 |
|
$y[$x][strtolower(substr($m, 0, $p))] = str_replace(array("\x01", "\x02", "\x03", "\x04", "\x05", "\x06", "\x07", "\x08"), array(";", "|", "~", " ", ",", "/", "(", ")"), substr($m, $p+1)); |
| 406 |
|
} |
| 407 |
|
if(isset($y[$x]['match']) && !hl_regex($y[$x]['match'])){unset($y[$x]['match']);} |
| 408 |
|
if(isset($y[$x]['nomatch']) && !hl_regex($y[$x]['nomatch'])){unset($y[$x]['nomatch']);} |
| 409 |
|
} |
| 410 |
|
if(!count($y) && !count($n)){continue;} |
| 411 |
|
foreach(explode(',', substr($w, 0, $e)) as $v){ |
| 412 |
|
if(!strlen(($v = strtolower($v)))){continue;} |
| 413 |
|
if(count($y)){if(!isset($s[$v])){$s[$v] = $y;} else{$s[$v] = array_merge($s[$v], $y);}} |