On Thu, Nov 18, 2010 at 13:48, M.-A. Lemburg <mal at egenix.com> wrote: > (?!bar\.)foo Ah, sorry for wasting peoples time by not including enough context. My bad. I'm looking for a patterns for making a fixer, not a regexp. :-)