Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^5: Combining two actions in RegExp

by AnomalousMonk (Archbishop)
on Jan 23, 2018 at 21:18 UTC ( [id://1207781]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $phone = '(777) 1234-0000 RAM:007';
    ...
    "
    '(777) 1234-0000 RAM:007'
    '777-1234-0000 RAM:007'
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my @phones = (
    ...
    '(777) 1234-0000 RAM:007' -> '777-1234-0000 RAM:007'
    '(777)  1234-0000 RAM:007' -> '777-1234-0000 RAM:007'
    '(777)   1234-0000 RAM:007' -> '777-1234-0000 RAM:007'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-18 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found