Ovid wrote: > ----- 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.
Is the intention that ok 1 THIS IS NOT A \# TODO should be parsed as a normal test with the description "THIS IS NOT A # TODO"? It doesn't seem to be doing that currently. That's interpreted as a TODO. -- Andy Armstrong, Hexten
