Une bue wrote:
> that didn't work, my script sees it as a string and even if (for this
> arg and if enclosed with //) :
>
> this_arg=Regexp.new(this_arg)
>
> then if this arg = "/to.*/"
>
> i get :
>
> puts this_arg.source # (after Regexp.new)
>
> # => /to.*/ INSTEAD OF to.*

this_arg=Regexp.new(this_arg[1..-2])

Regards,
Jordan