diff options
author | João Valverde <j@v6e.pt> | 2021-10-14 17:21:10 +0100 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-10-17 22:53:36 +0000 |
commit | 4e5e8066044f830407678c60b6b8b1c5aa21873b (patch) | |
tree | a40537c1c578781118fb5ac721da150fb861d4fd /epan/secrets.h | |
parent | ac31124514304b7f617201489279f84dc53aa575 (diff) |
dfilter: Do not chain matches expressions
It is always an error to chain regexes using the logic for "le" and "eq".
var matches "regex1" matches "regex2"
=> var matches "regex1" and "regex1" matches "regex2"
Before:
Filter: tcp matches "abc$" matches "^cde"
dftest: Neither "abc$" nor "^cde" are field or protocol names.
Filter: "abc$" matches tcp matches "^cde"
dftest: Neither "abc$" nor "tcp" are field or protocol names.
After:
Filter: tcp matches "abc$" matches "^cde"
dftest: "matches" was unexpected in this context.
Filter: "abc$" matches tcp matches "^cde"
dftest: "matches" was unexpected in this context.
Diffstat (limited to 'epan/secrets.h')
0 files changed, 0 insertions, 0 deletions