[Bro] Query regarding pattern match
johanna at icir.org
Sun Sep 28 07:49:25 PDT 2014
Actually I was wrong - the example you cited explains it correctly. You
need to use double parentheses with the character classes - if you use
[[:digit:]] it works perfectly.
On 28 Sep 2014, at 16:46, Balasubramaniam Natarajan wrote:
> Thanks for explaining.
> I got a bit confused by the Subexercise Part 2 example on the link
> https://www.bro.org/current/exercises/prog-primer/part1.bro Now I
> understand that we cannot use such character classes.
> On Sun, Sep 28, 2014 at 5:45 PM, Johanna Amann <johanna at icir.org>
>> Bro regular expressions does not support this kind of character
>> As far as I know it only supports listing all letters you want to
>> negation or ranges. The line matches because the letter t is included
>> :digit: as well as s2.
> Balasubramaniam Natarajan
More information about the Bro