讲解:http://www.jb51.cc/article/p-tfzjazei-gw.html
1.匹配嵌套的div:
<div[^>]*>[^<>]*(((?'Open'<div[^>]*>)[^<>]*)+((?-Open'</div>)[^<>]*)+)*(?(Open)(?!))</div>
2.匹配类似这么的jsonhttp://rate.taobao.com/FeedRateList.htm?callback=jsonp_reviews_list&userNumId=88442756&auctionNumId=27006028977&siteID=4¤tPageNum=1&rateType=&orderType=sort_weight&showContent=1&attribute=
\{\042append\042((?<o>\{)|(?<-o>\})|[^{}]+)*(?(o)(?!))\}