From: "Firestone, Mark - Technical Support" Date: 2002-04-04T01:02:35+09:00 Subject: RE: regular expression question Thanks for all the help guys!! String#split works great... I'm just being thick! Mark -----Original Message----- From: nobu.nokada@softhome.net [mailto:nobu.nokada@softhome.net] Sent: 03 April 2002 16:50 To: ruby-talk@ruby-lang.org Subject: Re: regular expression question Hi, At Thu, 4 Apr 2002 00:24:44 +0900, Firestone, Mark - Technical Support wrote: > 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]+(?=;)/) happy = input.scan(/[0-9 a-z]+(?=;|\Z)/) BTW, String#split doesn't work? happy = input.split(";") -- Nobu Nakada 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.