> Is this simply not the way REs work? Does this sort of matching really > have to be home-coded? Yes. The reason is basically that consumed characters can't be "unconsumed". However, if you use the search-variant with a start-argument you can search from the last occurence start+1 to achieve what you're after. Diez