in reply to Re^2: Puzzle Regex: Letter Frequency Arithmetic Sequence
in thread Puzzle Regex: Letter Frequency Arithmetic Sequence
Nice solution of the "variable length lookbehind" not allowed problem!
But why \n instead of $ ? *
edit
I suppose it's necessary because the following assertion wouldn't be executed?
update
*) well, I just noticed the "@_\n@_" part where you are doubling the input, which explains the "\n" and some other confusion about pos.
I agree, "too much cheating!" ;-p
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In Section
Seekers of Perl Wisdom