|There's more than one way to do things|
Parsing and translating Perl Regexesby LanX (Chancellor)
|on Nov 04, 2013 at 18:21 UTC||Need Help??|
LanX has asked for the
wisdom of the Perl Monks concerning the following question:
This in the most reliable way, i.e. also including warnings if a feature is not translatable.
Anyone aware of a working approach? I found many online analyzers which are easily fooled...especially with many experimental features in Perl RE.
Otherwise I'd like to use the re pragma in debug mode, but unfortunately this is not meant to be used for interactice introspection, or do I miss something?
Plz check the following workaround and suggest better ways to do it:
Of course this is only the first step, I still need to parse the output for RE-opcodes ...
Suggestions for simplifications welcome.
( addicted to the Perl Programming Language)