This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avoid redundant text -in -Dr output
authorKarl Williamson <khw@cpan.org>
Fri, 1 Aug 2014 16:04:16 +0000 (10:04 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 21 Aug 2014 20:49:46 +0000 (14:49 -0600)
commitef9bc83298763750079a8f1ff37b18b092bdfb33
tree61478edf98f53693bf811170a164560bdbd436d0
parent91a527c4392ee3a58532b360fdf798f7ffc6ba19
Avoid redundant text -in -Dr output

There is an optimization in regcomp.c which saves memory when used, but
which caused -Dr output to display the same code points twice.
I didn't add a test to ext/re/t/regop.t because this only happens for a
Unicode property, under certain circumstances, and that triggers a lot
of other regex patterns to be compiled which are subject to change, so
the test would frequently have to be updated.  This only affects
debugging output anyway.
embed.fnc
embed.h
proto.h
regcomp.c
regexec.c