Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

YAPE-Regex-Explain-1.01 released!

by japhy (Canon)
on Feb 06, 2001 at 11:44 UTC ( #56633=CUFP: print w/replies, xml ) Need Help??

The module will be available on CPAN shortly. It can also be downloaded from

Here is a sample use (sorry about the horrible wrapping):
#!/usr/bin/perl use YAPE::Regex::Explain; print YAPE::Regex::Explain->new(qr/^\(\d{3}\) \d{3}-\d{4}$/)->explai +n; __END__ The regular expression: (?-imsx:^\(\d{3}\) \d{3}-\d{4}$) matches as follows: NODE EXPLANATION ==== =========== (?-imsx: group, but do not capture (case-sensitive) (with ^ and $ matching normally) (with . not matching \n) (matching whitespace and # normally): ^ the beginning of the string \( '(' \d{3} digits (0-9) (3 times) \) ')' ' ' \d{3} digits (0-9) (3 times) - '-' \d{4} digits (0-9) (4 times) $ an optional \n followed by the end of the string )

japhy -- Perl and Regex Hacker

Replies are listed 'Best First'.
Re: YAPE-Regex-Explain-1.01 released!
by japhy (Canon) on Feb 06, 2001 at 21:01 UTC
    YAPE-Regex-1.02 is being released. There is a bug in Perl 5.6.0 that causes qr// objects to not behave properly on the LEFT-hand side of a =~.

    japhy -- Perl and Regex Hacker

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://56633]
Approved by root
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2023-12-04 02:33 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (20 votes). Check out past polls.