, . , URL- , , :
target="_blank">-->the url is here
, :
@target="_blank">-->(?P<url>.+?)@
If matches from the first capture group, indexed under "url", will contain URLs - surprise. Why named capture group? It just seems that it’s easier for you to understand what you are doing when you look back at your code.
source
share