[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Grabbing quoted substrings

Gavin Kistner

12/20/2006 7:43:00 PM

From: Tom Werner [mailto:pubsub@rubyisawesome.com]
> >>> ["x", "y", "z", ..., "mach"]
> Though that will capture the surrounding quotes as well,
> which was not specified in the requirements.

Oops, so it wasn't. (I looked at it and my mind said, "Huh, he's got
quotes there...I guess he wants them." Apparently my ruby parser is
borked.)