On Wednesday, June 15, 2016 at 3:28:37 PM UTC+12, Yubin Ruan wrote:

> I want to match the all the text surrounded by those "<a> </a>",

You are trying to use regex (type 3 grammar) to parse HTML (type 2 grammar) 
<https://en.wikipedia.org/wiki/Formal_grammar#The_Chomsky_hierarchy>?

No can do 
<http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454>.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to