What do you want us to say that you haven't already said? If you look at the code, you can see it does not do nested groups. You would have to rewrite it, or talk nice to someone to rewrite it for you.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.