This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Fix -Dr bug
authorKarl Williamson <khw@cpan.org>
Sun, 26 May 2019 18:22:26 +0000 (12:22 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 15 Sep 2019 04:26:49 +0000 (22:26 -0600)
commit0cc31f4df460bf4216abdcaadcc1b0dca0d4ab88
treebce4a006fb0a2747f67fb4dbd0977fd442969581
parentcfba2ecca3ba2c255c4533aa7cc149abdeea3ec0
regcomp.c: Fix -Dr bug

If dumping the program and a single range crosses the border between
being in the bitmap and not, the range must be split at the border
because the output has separate text for things in the bitmap vs. those
not.

I'm not sure that there is a situation where this currently occurs, but
it will so with a future commit
regcomp.c