[perl #43159] 5.9.4 regexp capturing wrongly
authorDave Mitchell <davem@fdisolutions.com>
Mon, 18 Jun 2007 15:10:32 +0000 (15:10 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Mon, 18 Jun 2007 15:10:32 +0000 (15:10 +0000)
commit60f65011b186cef6f05a7bafbf688a4b89780a87
tree2991804341988bf8b44f6175782c406dc8368cda
parent717f132d5024d35d34d5f6abec0526fdd163f731
[perl #43159] 5.9.4 regexp capturing wrongly
change #28398 accidently made the last branch of an alternation
not restore the paren state after failure backtrack. Fix this by
removing the last-branch-skips-pushing-a-state optimisation.
p4raw-link: @28398 on //depot/perl: 40a824489101168f94fce98aa2824baf40bad402

p4raw-id: //depot/perl@31417
regexec.c
t/op/re_tests