Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Just another Perl shrine
 
PerlMonks  

Re: Regex Testing

by chromatic (Archbishop)
on Sep 26, 2000 at 23:49 UTC ( [id://34135]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Regex Testing

You could use the re pragma:

use re 'debug';

It'll give you more information than you ever wanted, AND it's built-in. :)

Replies are listed 'Best First'.
RE: Re: Regex Testing
by converter (Priest) on Sep 27, 2000 at 01:03 UTC

    For what it's worth, the perldebguts manpage includes the details on the debugger's compile- and run-time outputs. You'll want to read it.

Re: Re: Regex Testing
by Anonymous Monk on Dec 03, 2001 at 17:07 UTC
    Cool! I have always been stumped by RE's that didn't work for some stupid tyop. This pragma help me find the problem in seconds!!! There is another flavor:

    use re 'debugcolor';

    It throws in some bolding and reverse video to enhance the display.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://34135]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.