From: Phlip Date: 2007-08-18T00:00:47+09:00 Subject: Re: Regexp riddle; escaping escapes Tim Pease wrote: > str.gsub!( %r/&(?=[^a-z])/i, '&') Thanks! > "zero-width positive lookahead" Man, that was right there, but I was blocking on it. (-; -- Phlip http://www.oreilly.com/catalog/9780596510657/ ^ assert_xpath http://tinyurl.com/yrc77g <-- assert_latest Model