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

Re^2: Regex style and efficiency

by bobf (Monsignor)
on Jan 10, 2010 at 22:23 UTC ( #816652=note: print w/replies, xml ) Need Help??


in reply to Re: Regex style and efficiency
in thread Regex style and efficiency

Nice. It didn't even occur to me to use substr/index for this. I also like how you used the non-capturing look-ahead to prevent the desired text from being included in the s///. Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://816652]
help
Chatterbox?
[choroba]: my son #2 would eat them all, regardless of the design :-)
[LanX]: healthy intelligent kids!
LanX when they reach my age they'll eat them sorted

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-12-16 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (456 votes). Check out past polls.

    Notices?