in reply to Re^3: Puzzle Regex: Letter Frequency Arithmetic Sequence
in thread Puzzle Regex: Letter Frequency Arithmetic Sequence

Nice!

(Took me a bit too understand what you are doing. :)

Pity, without the need of lower limit ranges one could even try to generalize this with a recursive pattern.

update
Actually you could avoid these limits for "is string long enough" tests, by checking for a new character instead of matching (.)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re^4: Puzzle Regex: Letter Frequency Arithmetic Sequence (updated)
  • Download Code