Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: substitute instead global matching for nested matches

by utku (Acolyte)
on Mar 20, 2012 at 13:56 UTC ( [id://960575]=note: print w/replies, xml ) Need Help??


in reply to Re: substitute instead global matching for nested matches
in thread substitute instead global matching for nested matches

Thanks for the first regexp fix, your improvement supports more input variations in some way. The second one is also handy but regexp is long, ie. you use match pattern \S+\s+\S+\s+ twice. I had thought it is reducible to one matcher. However it does its job also. I really appreciate your help it has given me new ideas, especially with the first regexp tip.
  • Comment on Re^2: substitute instead global matching for nested matches

Log In?
Username:
Password:

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

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

    No recent polls found