Hi,

> The regular expression below works on just about everything except nested
> parentheses:

Regular Expressions are used to define regular (Type 3 in Chomsky Hirarchy) 
grammars. You can not express nested parentheses in regular grammar, you need 
a context free (Type 2) but not regular grammar.

You might whant to have a look at the syntax highlighting in vim, since vim 
uses regular expressions for that as well.

Christof

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to