diff options
author | Gerald Combs <gerald@wireshark.org> | 2017-06-21 17:34:30 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-06-22 19:32:06 +0000 |
commit | 7d67af661a466dde4416c0583bbfa0250b14560f (patch) | |
tree | 47ed0deef89dab9b7becfdab74abb8aa9d680ce9 /docbook | |
parent | 07f576ffeb2bfabecaefbe24088a2858f47d4642 (diff) | |
download | wireshark-7d67af661a466dde4416c0583bbfa0250b14560f.tar.gz |
Make "matches" case-insensitive.
Make the "matches" operator case-insensitive by default. Case
sensitivity can be switched back on using "(?-i)".
It might be nice to make "contains" case-insensitive as well, but we'd
need a caseless version of epan_memmem.
Change-Id: I5e39a52c148477c30c808152bcace08348df815a
Reviewed-on: https://code.wireshark.org/review/22330
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'docbook')
-rw-r--r-- | docbook/release-notes.asciidoc | 3 | ||||
-rw-r--r-- | docbook/wsug_src/WSUG_chapter_work.asciidoc | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/docbook/release-notes.asciidoc b/docbook/release-notes.asciidoc index f5e88a2b5c..2b361f30f8 100644 --- a/docbook/release-notes.asciidoc +++ b/docbook/release-notes.asciidoc @@ -28,8 +28,9 @@ used for troubleshooting, analysis, development and education. The following features are new (or have been significantly updated) since version 2.4.0: - * Add color support for TShark with --color option (non-Windows only) +* Add color support for TShark with --color option (non-Windows only) * TCP Analysis will detect and flag more spurious retransmissions. +* The "matches" display filter operator is now case-insensitive. //=== Removed Dissectors diff --git a/docbook/wsug_src/WSUG_chapter_work.asciidoc b/docbook/wsug_src/WSUG_chapter_work.asciidoc index 6047e2ad45..819d7601b5 100644 --- a/docbook/wsug_src/WSUG_chapter_work.asciidoc +++ b/docbook/wsug_src/WSUG_chapter_work.asciidoc @@ -367,8 +367,8 @@ anywhere in the header. http.host matches "acme\.(org|com|net)" ---- The example above match HTTP packets where the HOST header contains acme.org or acme.com -or acme.net. Note: Wireshark needs to be built with libpcre in order to be able to use the -+matches+ resp. +~+ operator. +or acme.net. Comparisons are case-insensitive. Note: Wireshark needs to be built with +libpcre in order to be able to use the +matches+ resp. +~+ operator. ---- tcp.flags & 0x02 ---- |