[Bro-Dev] empty string and patterns

Seth Hall seth at icir.org
Wed May 11 09:55:44 PDT 2011


Does it make sense that this expression would return F?

	if ( /.*/ in "" )

but then this one returns T:

	if ( /^.*$/ in "" )

  .Seth

--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro-ids.org/



More information about the bro-dev mailing list