in reply to regex - need first child of parent

Does the solution have to be a regex? I would have thought this would be easier to accomplish by using something like XML::Twig to slurp up the XML, and then walking through the resulting data structure and picking out the appropriate node.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds