mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Safer examples (previous commit)
parent
5d84f3f056
commit
b3e8fa2393
1 changed files with 2 additions and 2 deletions
|
|
@ -611,8 +611,8 @@ The `ipaddress` value is not validated, so you can enter anything. Only one ipv4
|
|||
Exclusions `~` and `|` operators are not supported, e.g. `ipaddress=~192.168.1.1` or `ipaddress=192.168.1.1|192.168.8.4`, however as partial solution a regex can be used, examples:
|
||||
|
||||
```adb
|
||||
*$ipaddress=/^(?!95\.216\.7\.22|9\.9\.9\.9).*$/
|
||||
*$ipaddress=/^((?!95\.216\.7\.22|9\.9\.9\.9).)*$/
|
||||
(...) ipaddress=/^(?!95\.216\.7\.22|9\.9\.9\.9).*$/
|
||||
(...) ipaddress=/^((?!95\.216\.7\.22|9\.9\.9\.9).)*$/
|
||||
```
|
||||
|
||||
but the above solution is not perfect:
|
||||
|
|
|
|||
Loading…
Reference in a new issue