From: Jos Backus Date: 2001-11-23T16:28:25+09:00 Subject: [ruby-talk:26201] Re: regex/split/scan question (was: Re: Linux Magazine article) On Fri, Nov 23, 2001 at 03:38:08PM +0900, Bill Kelly wrote: > ext = mbox.scan(/-(.+)/).flatten[0] ? Yes, this one looks really good. Let me see if I can break it :-) Thank you! Cheers, -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ josb@cncdsl.com _/_/ _/_/_/ use Std::Disclaimer;