On Jan 30, 2008, at 9:49 AM, Andrew Stewart wrote:

>
> On 29 Jan 2008, at 23:35, Suraj Kurapati wrote:
>> Since Ruby does not have a negative look *behind* operator, I just  
>> used
>> the negative look *ahead* in a backwards way, et viola!
>>
>>>> puts a.reverse.gsub(/erit(?!.*wons)/, '>>>\&<<<').reverse
>
> Aha!  I like your style.
>
> James Edward Gray's when-all-else-fails-reverse-the-data triumphs  
> again.

I love that trick.  ;)

James Edward Gray II