Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Rx-0.53/ as a module

by Anonymous Monk
on Apr 21, 2012 at 10:17 UTC ( #966333=perlquestion: print w/replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

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+!" Final program: 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/ requires recompiling perl (and I haven't tried it yet), so any options besides parsing the output of re=debug ?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://966333]
Approved by marto
[tye]: disable /proc and then see what it does?
[davido]: then it reads from /etc/passwd to decide who my uid is.
[davido]: sorry, typed that before you asked me to disable proc
[davido]: but you stumped me; don't know how to disable proc.
[tye]: I don't know if you can just dismount, but I thought so.
[davido]: yeah, umount -f isn't powerful enough.
[tye]: probably something in the init subsystem that does the mounting that you could disable and reboot.
davido needs to close laptop to board flight home from yapc.
[davido]: I'll look into it in a few hours probably.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2017-06-23 20:03 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (554 votes). Check out past polls.