Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 597582e98eebaaeaf032914996a1ba715eb70a69
https://github.com/Perl/perl5/commit/597582e98eebaaeaf032914996a1ba715eb70a69
Author: Yves Orton <[email protected]>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M MANIFEST
M regcomp.c
A t/re/stclass_threads.t
Log Message:
-----------
regcomp.c - in regdupe_internal() set up "in program" stclass properly
We were only handling "synthetic start classes", not ones that are in
the program itself, because those dont have an entry in the data array.
So after copying the program after ruling out that the regstclass is
synthetic we can assume that if its non-null it points into the program
itself, and simply set it up the copy accordingly.
Fixes https://github.com/Perl/perl5/issues/9373