![]() |
|
XP is just a number | |
PerlMonks |
Re^3: Challenge: Hidden Messageby diotalevi (Canon) |
on May 11, 2006 at 20:36 UTC ( #548832=note: print w/replies, xml ) | Need Help?? |
It's just making a regex like \A[^\n]*(\w)[^\n]*\n(?:[^\n]*\1[^\n]*\n)+\z which just says, I captured $1 and it has to exist on every line. Higher # versions just capture more and assert the new digits, in order. It's really very simple. rx() could be improved if you pegged certain captures with specified characters. I'm searching the entire space so I'm slower. What's this have to do with ATM PINs? ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In Section
Meditations
|
|