[eluser]Eric Cope[/eluser]
Edit: As far as I can tell, it can handle at least 2 levels of variable pairs.
It does not seem greedy, i.e. it will search for more than one of the same variable pair.
[eluser]moodh[/eluser]
There's a good extension somewhere in the forum allowing the same namepairs and depths, or at least thats what I remember, might be wrong though.