This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Fix <if> condition
authorKarl Williamson <public@khwilliamson.com>
Mon, 23 Jul 2012 04:09:21 +0000 (22:09 -0600)
committerKarl Williamson <public@khwilliamson.com>
Wed, 25 Jul 2012 03:13:50 +0000 (21:13 -0600)
commit5863c1497f9c3894866e6ddc60e96c35db9f547c
tree92c6e02fa754dae7930d20082e1b3b7c75cf131a
parent4fa0f9a5038a4631f76500c0f52628539e948575
regcomp.c: Fix <if> condition

The else clause is expecting that the regex is compiled under /d, when
in fact, until this commit, it could also be under /l.  I could not come
up with a case currently where this distinction matters, but it's best
to not tempt fate.
regcomp.c