http://www.perlmonks.org?node_id=617174


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.

-Pip