Safer examples (previous commit)

garry-ut99 2024-11-03 17:38:35 +00:00
parent 5d84f3f056
commit b3e8fa2393

@ -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: