On Thu, Nov 5, 2009 at 12:59 AM, Mikel Lindsaar <raasdnil / gmail.com> wrote:
> In the Mail gem I am doing Regexp's on various strings that arrive,
> which can be basically anything (user defined). So I am dup'ing the
> string, and forcing the encoding to binary before I do the regexp...
> but I am getting this warning:
>
> ~/lib/mail/utilities.rb:56: warning: regexp match /.../n against to UTF-8 string

Found the problem.  Was a second regexp inside the first that was not
properly encoded.

Mikel