From: Luca Scaljery Date: 2008-07-20T20:53:03+09:00 Subject: Re: filtering email addresses David A. Black wrote: > Hi -- > > On Sun, 20 Jul 2008, Luca Scaljery wrote: > >> >> doesn't work > > str =~ /@/ thnx, I was looking for a String#method but this is OK too > > As for /[^pattern]/, that will match one character that is not a, e, > n, p, t, or r. For non-matching, try: my mistake :) thnx a lot LuCa -- Posted via http://www.ruby-forum.com/.