[Bro] string_to_pattern
Robin Sommer
robin at icir.org
Thu Jun 15 07:39:42 PDT 2017
On Fri, Jun 09, 2017 at 21:21 -0700, Dk Jack wrote:
> 1320279566.452687 error in ././trybro.bro, line 17: string_to_pattern
> can only be called at init time (string_to_pattern(Hello, World, T))
Bro currently doesn't support creating regular expressions values
dynamically during runtime. The reason is an unfortunate internal
deficiency: regexp values don't fully clean up their memory when
deleted, meaning that frequent instantiating/destroying would lead to
significant memory leaks.
Robin
--
Robin Sommer * ICSI/LBNL * robin at icir.org * www.icir.org/robin
More information about the Bro
mailing list