From 7d67af661a466dde4416c0583bbfa0250b14560f Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 21 Jun 2017 17:34:30 -0400 Subject: 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 Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- docbook/release-notes.asciidoc | 3 ++- docbook/wsug_src/WSUG_chapter_work.asciidoc | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'docbook') 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 ---- -- cgit v1.2.1