Mark London <[EMAIL PROTECTED]> writes:

> 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.

This is easy, for example, I wrote the following rule for
my local rules (don't know yet whether it will be
useful though):

full EM_BROKEN_HTML   /<meta.*<html>/is
describe EM_BROKEN_HTML  META is the first tag even before HTML

man perlre or perldoc perlre will help you understand
what 's' and other flags mean in Perl regular
expressions.
Eugene

-- 
Email: <jmv at online.ru>

Reply via email to