> for e.g : > > (not showing the new lines..) > > > ....word1.....word1.....word1....word2....word1...word2....wor > d2....word2.... > .....
You're gonna want to check out (in the perldoc perlre manpage) (??{ code }), which is an example of a recursive regular expression. They have an example that matches nested parenthesis correctly. Cool stuff :) -dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]