This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix perl-126222 - (?!) OPFAIL optimization does work in (?(?!)yes|no)
authorYves Orton <demerphq@gmail.com>
Sun, 4 Oct 2015 12:13:44 +0000 (14:13 +0200)
committerYves Orton <demerphq@gmail.com>
Sun, 4 Oct 2015 12:17:12 +0000 (14:17 +0200)
commit6625d92602279361acd0c6185b78c6d201fd81e0
tree5597fc17c0b4149929d0d7628fc0dedb2e19636c
parent0f8d761c4673440b49eeb491136a67dcf3da7400
fix perl-126222 - (?!) OPFAIL optimization does work in (?(?!)yes|no)

OPFAIL should trigger the no branch when used in this context

Thanks to Victor Adam for the report.
regexec.c
t/re/re_tests