Hello Raymond,
I’m not sure which version you’re using, I posted last week the :
http://modxcms.com/forums/index.php/topic,1438.0.html
If you like to talk via MSN, IM, please send me a message
Ehm, I wonder, did ....(I forgot who, sorry) not allready merge my stuff into svn?
From you example above, it looks like you enable recursion for any kind of call, not only a snippet call. I guess, this could be done by checking for nesting in processTags instead of mergSnippetContent....
Have a look at the above post, you’ll find the tagparser.php class in the extenders dir. Makes working on the parser a little easier ;-)
About using the str_replace vs substr_replace, I’ve no idea

My best bet would be, that I used the original code hehe
Remon