I'm still hoping to find something simpler w/o needing to compile XS-modules, preferably within the core.
Pipe dream if you ask me, look at http://perl5.git.perl.org/perl.git/blob#l14597 and http://perl5.git.perl.org/perl.git/blob?f=regcomp.h#l778
I imagine you might be able to peek at a regex structure using B, but you can't get at the debug messages, they're not stored, and you can't hook DEBUG_COMPILE macros
In reply to Re^3: Dynamically inspecting Regex OP-Codes at runtime?
by Anonymous Monk
in thread Dynamically inspecting Regex OP-Codes at runtime?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |