Regexp.new(/regexp/i)

Joao Silva wrote:
> When i try to use:
>
>   
>>> Regexp.new("/regexp/i")
>>>       
> => /\/regexp\/i/
>
> But it's not what i want - i need:
>
> /regexp/i
>
> :-(
>
> How i can convert this proper way?
>