[Bro] Query regarding pattern match

Johanna Amann johanna at icir.org
Sun Sep 28 05:15:57 PDT 2014


Bro regular expressions does not support this kind of character classes. 
As far as I know it only supports listing all letters you want to 
include, negation or ranges. The line matches because the letter t is 
included in :digit: as well as s2.


On 28 Sep 2014, at 11:43, Balasubramaniam Natarajan wrote:

> Hi
> Could someone explain to me as to why would the pattern match of 
> [:digit:]
> match characters and print s2 in the link given below ?
> http://try.bro.org/#/trybro/saved/d1c1dbb4-0148-4097-8967-0a5d2e796d69
> Just in case the above link changes as I work on new exercise I have
> uploaded a screenshot as well.
> -- 
> Regards,
> Balasubramaniam Natarajan
> http://blog.etutorshop.com
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro

More information about the Bro mailing list