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

(MeowChow) Re3: extracting variables from regex

by MeowChow (Vicar)
on Apr 03, 2002 at 12:01 UTC ( #156292=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: extracting variables from regex
in thread extracting variables from regex

Why have split at all?
  
echo 192.168.0.1 | perl -nle 'printf "%02X"x4, /\d+/g'

   MeowChow                                   
               s aamecha.s a..a\u$&owag.print


Comment on (MeowChow) Re3: extracting variables from regex
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2015-07-29 04:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls