From: Kevin Austin Date: 2010-04-27T02:54:35+09:00 Subject: Re: regular expressions Jes炭s Gabriel y Gal叩n wrote: > On Mon, Apr 26, 2010 at 7:28 PM, Kevin Austin > wrote: >> *something* - info about the something >> >> >> my problem is that I can't find info about searching for the "*" >> character. >> >> I've been reviewing the regular expression docs and can only find the >> usage for "*" and not how to search for *#{stuff}* > > * is a special character for regular expressions, so you have to escape > it: > > /\*something\*/ > > Jesus. Knew it was something stupid Thanks -- Posted via http://www.ruby-forum.com/.