FW: [Kc] Puzzle: 100 Monkeys
Scott Kahler
scottk at uclick.com
Wed Jan 15 12:06:35 CST 2003
>
>
>>m/^\d+(?:\s\d+)*$/
>>
Just like to say I learned two things from that one piece of code. The
whole ?: thing which is neat but I'm not sure how much often I'll get a
chance to use it and also matching a pattern multiple times with ( )*
which should have been competely obvious in some previous reading but I
hadn't seen it before. Learning two things from 18 characters of code is
pretty cool.
--
Scott Kahler
=-=-=-=-=-=-=-=-=-=-=-=-=
Perl Geek
http://www.uclick.com
816-210-8884
scottk at uclick.com
=-=-=-=-=-=-=-=-=-=-=-=-=
Flash is to the Web what cheesy, on-hold-music
is to the telephone - superficial, and
nothing but a distraction.
More information about the kc
mailing list