From: Nikodemus Siivola Date: 2002-05-16T10:07:28+09:00 Subject: Re: How to Convert Regex Back to String in Exact Match? On Thu, 16 May 2002, David Alan Black wrote: > re.source.sub(/\A\\A/, '').sub(/\\z\z/, '').gsub(/\\(.)/, '\1') Nice ;) Now just bundle it up with unit tests... Funny though how our versions are very much about size vs. work. Your is much more elengant, though. -- Nikodemus