mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
use PCRE syntax instead of the beautiful new (?i ...) syntax
This commit is contained in:
parent
726424f371
commit
85c4b0d285
6 changed files with 12 additions and 14 deletions
|
@ -256,9 +256,8 @@ Here is a more detailed description of each type:
|
|||
a "foo", "Foo", "BaR", etc.
|
||||
|
||||
You can also introduce a case-insensitive sub-pattern by enclosing it
|
||||
in ``(+i``<pattern>``)``. For clarity, you can optionally include
|
||||
trailing whitespace after the ``+i`` designator. So, for example,
|
||||
``/foo|(+i bar)/`` will match "foo" and "BaR", but *not* "Foo".
|
||||
in ``(?i:``<pattern>``)``. So, for example, ``/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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue