in reply to Parser Performance Question
> qr/ " (?: [^"] | \\" )* " /x;
is broken code.
Try to guess what it's supposed to do, and then try to test what it really does, and you'll see why testing is important.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parser Performance Question
by choroba (Cardinal) on Oct 05, 2017 at 11:57 UTC | |
by LanX (Saint) on Oct 05, 2017 at 13:48 UTC | |
by Eily (Monsignor) on Oct 06, 2017 at 01:44 UTC | |
by LanX (Saint) on Oct 06, 2017 at 02:08 UTC | |
by Eily (Monsignor) on Oct 06, 2017 at 08:02 UTC | |
|