[Bro-Dev] #26: case insensitive regular expressions
Bro Tracker
bro-dev at bro-ids.org
Mon Nov 15 21:47:51 PST 2010
#26: case insensitive regular expressions
------------------------------+---------------------------------------------
Reporter: vern | Owner:
Type: Feature Request | Status: seen
Priority: Normal | Milestone:
Component: Bro | Version:
Resolution: | Keywords:
------------------------------+---------------------------------------------
Comment (by seth):
More thoughts I forgot to add.
What I would like to see happen is something along these lines...
{{{
const p = /abc/i &redef;
redef p += /DEF/;
}}}
The result would be that /abc/ would be a case insensitive portion of the
pattern "p" and /DEF/ would be case sensitive.
Continuing...
{{{
const p = /abc/ &redef &case_insensitive;
redef p += /DEF/;
}}}
This could be another use case where /abc/ is case insensitive along with
/DEF/. This could be useful for situations where a large number of
disjunctions are being done or an original script writer wants all further
patterns added to the pattern to be case insensitive without needing the
user of the script to define all joined patterns as case insensitive.
--
Ticket URL: <http://tracker.icir.org/bro/ticket/26#comment:4>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list