in reply to commenting regular expressions (take two)?

Use the x modifier in the qr//.
my $pattern = qr/ \s* <PgfTag `Normal \(T\)'> \s* /x;

Replies are listed 'Best First'.
Re: Re: commenting regular expressions (take two)?
by SeekerOKnowledge (Initiate) on Sep 04, 2003 at 19:50 UTC
    Thanks for all replies. The /x did the trick, but I also had to escape the spaces within the desired strings as well.