in reply to more regex help ...

You have changed the requirement to include more complicated loop..endloop constructs. While there may be a regex that can dissect that, perhaps a parser is more what you need. Does your data have a grammar you can feed a parser generator like Parse::RecDescent or (b)yacc?

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: more regex help ...
by Anonymous Monk on Nov 28, 2003 at 08:49 UTC
    Thanks every one for your help. I had a look at Parse::RecDescent, it looks too advanced for my requirement. I will try to understand it more before deciding on anything. Thanks again for all the help !!