Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: When a regexp with /g needs to be run .. twice

by AnomalousMonk (Bishop)
on Mar 05, 2018 at 15:52 UTC ( #1210356=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 @foos = (':X,{X', ':X,{');
    ...
    "
    ':X,{X' -> ':.X,.{.X'
    ':X,{' -> ':.X,.{.'
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my @foos = (':X,{X', ':X,{');
    ...
    "
    ':X,{X' -> ':.X,.{.X'
    ':X,{' -> ':.X,.{'
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2021-04-13 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?