From: Joao Silva Date: 2009-08-21T18:36:13+09:00 Subject: Re: How to convert string "/regexp/i" to /regexp/i - ? Fleck Jean-Julien wrote: > 2009/8/21 Joao Silva : >> >> How i can convert this proper way? > > Try without the quotes > >>> Regexp.new(/regexp/i) > => /regexp/i > > Cheers, I cannot do this without quotes - i need get it from string. Only thing i have is "/regexp/i" string. Thanks! -- Posted via http://www.ruby-forum.com/.