Change regex parsing to avoid runaway matches
This commit is contained in:
parent
bdcedae003
commit
d562e7fd7c
10 changed files with 255 additions and 223 deletions
|
@ -89,7 +89,8 @@ Regex equals
|
|||
------------
|
||||
|
||||
A tag can also be tested against a regex with `key~regex`. Note that this regex __must match__ the entire value. If the
|
||||
value is allowed to appear anywhere as substring, use `key~.*regex.*`
|
||||
value is allowed to appear anywhere as substring, use `key~.*regex.*`.
|
||||
The regex is put within braces as to prevent runaway values.
|
||||
|
||||
Regexes will match the newline character with `.` too - the `s`-flag is enabled by default. To enable case invariant
|
||||
matching, use `key~i~regex`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue