This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Allow search to work on empty inversion lists
authorKarl Williamson <public@khwilliamson.com>
Sat, 18 Aug 2012 20:23:12 +0000 (14:23 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sun, 26 Aug 2012 05:21:27 +0000 (23:21 -0600)
commitdcb4482772c77ad3c01753904c23a99674bd066a
treea85b83d3fbefdda3a50fe0286c9144e16c1d3234
parent01c5845aa92ba1bd86b3f470191149df4f878d3d
regcomp.c: Allow search to work on empty inversion lists

You cannot retrieve the array of an empty inversion list, so the code
has to be reordered to do that after the list is known to be non-empty.
I haven't been able to find a case where this currently fails, but
future commits open up the possibility.
regcomp.c