Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Puzzle Regex: Letter Frequency Arithmetic Sequence (updated)

by LanX (Saint)
on Oct 20, 2017 at 16:10 UTC ( [id://1201766]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-25 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found