From: Marnen Laibow-Koser Date: 2009-11-10T22:57:24+09:00 Subject: Re: camelize Ralph Shnelvar wrote: > Phrogz, > > What does the "i" do in > gsub(/\b[a-z]/i){ |x| x.upcase } > do? > It makes the regex case-insensitive. If you're asking that kind of question, you need to go read Programming Ruby. > I took it out and the pattern seemed to work. > > Ralph Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.