On Tue, 24 Feb 2004, Matthias Fuhrmann wrote:

> On Tue, 24 Feb 2004, Mark London wrote:
>
> > Is it possible to create a test that will span empty lines?   I.e. if I 
> > want to
> > test for the word "foo" followed by the word "bar", but the words are 
> > separated
> > by an empty line, is it possible to do?  Nothing I've tried works, although 
> > I'm
> > a relative novice at this game.  Thanks.
>
> thats what you can do with meta rules:
>
> rawbody  __FIND_FOO /foo/i
> rawbody  __FIND_BAR /bar/i
> meta     FIND_FOOBAR   (__FIND_FOO && __FIND_BAR )
> describe LOCAL_FIND_IT   gotcha
> score    LOCAL_FIND_IT   10.0

oh, was wrong here :)

describe FIND_FOOBAR   gotcha
score    FIND_FOOBAR   10.0

regards,
Matthias

Reply via email to