diff --git a/Static-filter-syntax.md b/Static-filter-syntax.md index 446353e..1bbc545 100644 --- a/Static-filter-syntax.md +++ b/Static-filter-syntax.md @@ -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.