On 8/17/07, Phlip <phlip2005 / gmail.com> wrote:
> Tim Pease wrote:
>
> > str.gsub!( %r/&(?=[^a-z])/i, '&amp;')
>
> Thanks!
>
> > "zero-width positive lookahead"
>
> Man, that was right there, but I was blocking on it. (-;
>

I had to pull my pickaxe off the shelf and look it up, too.  Page 327
in the second edition if you're interested in reading about it.  It's
in the first edition, too, that is available online.

Blessings,
TwP