|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re^2: Yet Another Rosetta Code Problem (Perl, Ruby, Python, Haskell, ...)by Anonymous Monk |
| on Sep 18, 2007 at 10:18 UTC ( #639604=note: print w/ replies, xml ) | Need Help?? |
|
I like the scan/map solution of ruby but I must admit too, that the javascript solution comes out cleanest :) "ZBBBCZZ".match(/((.)\2*)/g)
In Section
Meditations
|
|
||||||||||||||||||||