From: Peter Zotov Date: 2009-03-26T03:22:18+09:00 Subject: Re: Parsing xml Quoting "Sebastian Hungerecker" : > Peter Zotov wrote: >> But this will fail at "some-tag" embedded in other "some-tag" and if   >> tag will have arguments. Of course, these variants can be predicted   >> and added to regexp too > > I don't see what you could add to the regexp to handle nested tags. You can't > really handle nested structures with regular expressions. I think that you can use backlinks and combine results afterwards from their splitted state, but not sure. -- WBR, Peter Zotov