Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: finding number of contiguous letters

by PipTigger (Hermit)
on May 24, 2007 at 07:00 UTC ( #617174=note: print w/replies, xml ) Need Help??

in reply to Re^2: finding number of contiguous letters
in thread finding number of contiguous letters

I forgot about some of the fancier Perl RegEx stuff too. ?= is about a third of the way down the page && does positive lookahead. RegExes are so damn wonderfully powerful.

I'm really enjoying this sweet simple thread. Thanks to all contributors. =)

Maybe a giant benchmark could be made of every single version. I haven't messed with Benchmark stuff much but it's obviously super-useful too. I'd like to grok it && incorporate it into my Perl practices. Hasta.

  • Comment on Re^3: finding number of contiguous letters

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-10-22 12:11 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.