From: matz@... (Yukihiro Matsumoto) Date: 2002-05-16T11:21:14+09:00 Subject: Re: How to Convert Regex Back to String in Exact Match? Hi, In message "How to Convert Regex Back to String in Exact Match?" on 02/05/16, William Djaja Tjokroaminata writes: |Basically, I need the inverse of the method escape. I can remove '\A' |and '\z' without any problem, but I don't know how to deal with all the |replacements that have been done by the method escape. Thanks. I think s.gsub(/\\(.)/, '\1') does the trick. matz.