Wes Gamble <weyus / att.net> writes:

> Andrew,
>
> That works fine.
>
> In actuality, I do need the ability to pass one regex to do the job into 
> another utility that will use it to operate on an array of strings.
>
> So although !~ is cool, I really didn't want to have to iterate through 
> the strings myself.
>
> Thanks,
> Wes

I always wanted to propose a ~ operator for Regexps. ;-)
The current behavior is next to useless.

It wouldn't be difficult to add... also, see lib/eregex.rb.

-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org