What I'm looking for is to get at the hash structure described in Rx: A Regex Debugger for Perl, it is the hash version of this printout
$ perl -Mre=debug -e " /larry.wall+!/ "
Compiling REx "larry.wall+!"
1: EXACT <larry> (4)
4: REG_ANY (5)
5: EXACT <wal> (7)
7: PLUS (10)
8: EXACT <l> (0)
10: EXACT <!> (12)
12: END (0)
anchored "larry" at 0 floating "l!" at 9..2147483647 (checking anchore
+d) minlen 11
Freeing REx: "larry.wall+!"
Rx-0.53/dump_regexes.pl requires recompiling perl (and I haven't tried it yet), so any options besides parsing the output of re=debug ?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||