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

thank you.
I'm trying to understand what the ?= is in the match. off to search perl docs!
  • Comment on Re^2: finding number of contiguous letters

Replies are listed 'Best First'.
Re^3: finding number of contiguous letters
by PipTigger (Hermit) on May 24, 2007 at 07:00 UTC

    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