Minor rewording (previous commit)

garry-ut99 2024-11-03 19:02:00 +00:00
parent b3e8fa2393
commit 49b07fca3a

@ -615,9 +615,9 @@ Exclusions `~` and `|` operators are not supported, e.g. `ipaddress=~192.168.1.1
(...) ipaddress=/^((?!95\.216\.7\.22|9\.9\.9\.9).)*$/
```
but the above solution is not perfect:
- the first above filter doesn't match/include `95.216.7.22y` where `y` is any digit, for example `95.216.7.228`
- the second above filter even worse: doesn't match/include: `x95.216.7.22y` where `x` and/or `y` is any digit, for example `195.216.7.22` or `95.216.7.221` or `195.216.7.221`.
but the above regex solution is not perfect:
- the first above regex excludes too much: `95.216.7.22y` which is unwanted (where `y` is any digit, for example `95.216.7.228`)
- the second above regex even worse, exclude too much: `x95.216.7.22y` (where `x` and/or `y` is any digit, for example `195.216.7.22` or `95.216.7.221` or `195.216.7.221`)
But still some users might find them useful.