document use of double quotes to escape case-insensitivity

This commit is contained in:
Vern Paxson 2018-06-29 11:35:22 -07:00
parent 5ce3d1b899
commit a02d9e7f4a
2 changed files with 9 additions and 0 deletions

5
NEWS
View file

@ -266,6 +266,11 @@ New Functionality
by whitespace. So for example "/foo|(+i bar)/" will match "BaR", but by whitespace. So for example "/foo|(+i bar)/" will match "BaR", but
not "FoO". not "FoO".
For both ways of specifying case-insensitivity, characters enclosed in
double quotes maintain their case-sensitivity. So for example /"foo"/i
will not match "Foo", but it will match "foo".
Changed Functionality Changed Functionality
--------------------- ---------------------

View file

@ -260,6 +260,10 @@ Here is a more detailed description of each type:
trailing whitespace after the ``+i`` designator. So, for example, trailing whitespace after the ``+i`` designator. So, for example,
``/foo|(+i bar)/`` will match "foo" and "BaR", but *not* "Foo". ``/foo|(+i bar)/`` will match "foo" and "BaR", but *not* "Foo".
For both ways of specifying case-insensitivity, characters enclosed
in double quotes maintain their case-sensitivity. So for example
/"foo"/i will not match "Foo", but it will match "foo".
.. bro:type:: port .. bro:type:: port
A type representing transport-level port numbers (besides TCP and A type representing transport-level port numbers (besides TCP and