response = 'li><a href="/beautifulsoup/" title="BeautifulSoup"><......'
what I intend to capture is /beautifulsoup/
this is the correct code
link =re.findall(r'href=\"?([^\" ]+)',response)
this is my code
link =re.findall(r'><a\b href=\"? .\"\b',response)
I had three questions:
1) why are square brackets used. they should only be used for some sequence in character
2) why there is no '.' in correct code after question mark
3) why are parenthesis used; they should only be used for grouping but there is no grouping required