----- Original Message ----
From: Steffen Schwigon <[EMAIL PROTECTED]>

> Should I correct my test output or should TAP::Parser handle lines
> with trailing backslash differently?

I think that TAP::Parser's behavior is incorrect.  The problem will be found in 
the TAP::Parser::Grammar, specifically this line, I think, which is supposed to 
allow a hash mark if it's escaped:

  my $description = qr/.*?(?!\\(?:\\\\)*)#?/;

I'm at work, so I can't look at this right now, but if anyone else wants to 
take a gander at it, feel free.  I've never quite like the regexes I've cobbled 
together for TAP parsing since there are so many edge cases.

Cheers,
Ovid

-- 
Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/




Reply via email to