On 10/13/2015 02:18, Erik Corry wrote: > Yes, that makes sense. > > This could be fixed by removing {n} loops from positive lookbehinds. Or by doing the .NET-style back-references immediately. I think it would be cleanest to do the full reverse-order matching (what I think you're calling .NET-style) from the start. Waldemar