in reply to Re: Nesting regexenin thread Nesting regexen
I see (after staring at your post for 20 minutes). The problem is with the backreference \2. It's only 2 when it isn't embedded inside another regex.
Thank you very much!