On 23 Jan 2009, at 15:09, doug livesey wrote:
String#scan()!
There's also String#match. String#match.to_a returns the same as String#scan.flatten if i remember rightly. But String#scan will return an empty array for no matches, whereas String#match will return nil.
Something like that. C --- Caius Durling [email protected] +44 (0) 7960 268 100 http://caius.name/
PGP.sig
Description: This is a digitally signed message part
