Branch: refs/heads/yves/dump_regexp_new_fields_for_branch_reset
Home: https://github.com/Perl/perl5
Commit: dd0f680e13090cf3f20455c3bd06908aa7c22c00
https://github.com/Perl/perl5/commit/dd0f680e13090cf3f20455c3bd06908aa7c22c00
Author: Yves Orton <[email protected]>
Date: 2023-01-21 (Sat, 21 Jan 2023)
Changed paths:
M dump.c
M ext/Devel-Peek/Peek.pm
M ext/Devel-Peek/t/Peek.t
Log Message:
-----------
dump.c - dump new regexp fields properly
Show the pointer values and their contents. Also show the "MOTHER_RE"
at the *end* of the dump, as otherwise it can be quite hard to read.
This patch also includes stripping out the versioned test adjustments
for regexp related dumps. Devel-Peek is in ext/ so it won't be used on
an older perl and we can just make it correct for the latest state.
The test for the dump of a branch reset pattern is also implicitly
tests whether branch reset pointer table logic is working correctly.
In the process of writing this patch I discovered there was an off by
one error. See 8111bf2fc3870f8146bb46652b66bd517e82b4dd for the fix.