From: Trans Date: 2005-11-28T21:57:30+09:00 Subject: Re: String#to_rx ? So I'll put in the (likely) last 2 cents. I agree with Nikolai if that there is a Regexp proper way to interpolate a string, that should be used, and I'm all for anything that makes Regexp less cryptic and more usable (the "perlishness" of Regexp is just the nature of them, that won't change, but as Apocolypse shows it can be improved) Nonetheless, that's all up to Matz and a furture version of Ruby and really no use to us at the moment, so in that regard I have to agree with Jeff and that's why I am making these methods a part of Facets: String#to_re - Convert string to Regexp escaping. String#to_rx - Convert string to Regexp non-escaping. String#regesc - Regexp escape T.