From: Robert Gleeson Date: 2010-02-25T03:36:50+09:00 Subject: Re: How do I set the encoding on a regexp ? Typo fix: > Regexp.new(/foo/u).encoding # => UTF-8 -- Posted via http://www.ruby-forum.com/.