From: "Firestone, Mark - Technical Support" Date: 2002-04-04T00:24:44+09:00 Subject: regular expression question Thanks for the help with the tread questions guys... I have one about (gasp) regular expresions. hate hate hate. I want to seperate a string of commands seperated by semi-colons... here's what I have so far by way of a test... happy = input.scan(/[0-9 a-z]+(?=;)/) this does what I want, almost. I only get strings with semicolons AFTER them. This cuts off the last command in the list.. how can I get ALL the strings SEPERATED by semicolons. Regular expressions give me a headache.. Thanks! Mark -----Original Message----- From: ghost [mailto:ghost_djNOSP@Mhotmail.com] Sent: 03 April 2002 14:29 To: ruby-talk@ruby-lang.org Subject: Re: Newbie Questions Erik B�gfors wrote: > On Wed, 2002-04-03 at 12:55, ghost wrote: >> Apologies if there is a FAQ I missed or this is out of line here, but I >> have a couple of Ruby questions if you please: >> 1) Is there any definitive online tutorials available? >> (I've been to IBM, RubyCentral, Rubycookbook, etc) > > I'd recommend the pickaxe-book. You'll find it at > www.pragmaticprogramer.com I _think_ > Thank you very much. That book was exactly what I was looking for :) -- --ghost-- http://www.ghost-network.myip.org NOTICE: This e-mail and any attachment(s) may contain confidential and proprietary information of Goss International Corporation and/or its subsidiaries and may be legally privileged. This e-mail is intended solely for the addressee. If you are not the addressee, dissemination, copying or other use of this e-mail or any of its content is strictly prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail and any copies. All liability for viruses is excluded to the fullest extent permitted by law. Any views expressed in this message are those of the individual sender. No contract may be construed by this e-mail.