Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Question on Regex grouping

by Marshall (Canon)
on Dec 21, 2010 at 08:36 UTC ( [id://878190]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    var def=87654321 #note that this works even though
                     #the pre-condition of abc\d{5}
                     #occurs later in the line! Wow!
    
  2. or download this
    my @x =  (
                'smomedef12345',
    ...
    prints:
    def=12345678
    def=87654321
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://878190]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-04-23 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found