mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
document use of double quotes to escape case-insensitivity
This commit is contained in:
parent
5ce3d1b899
commit
a02d9e7f4a
2 changed files with 9 additions and 0 deletions
5
NEWS
5
NEWS
|
@ -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
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue