Failing matches don't reset numbered variables.
authorMarcus Holland-Moritz <mhx-perl@gmx.net>
Tue, 6 Jul 2004 21:43:05 +0000 (21:43 +0000)
committerMarcus Holland-Moritz <mhx-perl@gmx.net>
Tue, 6 Jul 2004 21:43:05 +0000 (21:43 +0000)
commit30799d55fe07dcf79e95d2823efbd5ec4c2e3bf4
tree0098130e5f7049ca39d3f38f6e8b07158139b217
parentc3435ec0046a0e047752745d5a51470b10643e75
Failing matches don't reset numbered variables.
Change #22997 could cause Text::ParseWords to loop forever if the
regex didn't not match. Explicitly return if the match fails.

p4raw-id: //depot/perl@23060
lib/Text/ParseWords.pm
lib/Text/ParseWords.t