delete @ pattern
url_re = Re(r'''( \b \w[\w\+\-\.]+:// %(c)s* \[ %(c)s+ \] (?: %(c)s+ [\w/] )? | \b \w[\w\+\-\.]+:// %(c)s+ [\w/] | \b mailto: %(c)s+ \@ %(c)s* \[ %(c)s+ \] (?: %(c)s+ [\w/] )? | \b mailto: %(c)s+ \@ %(c)s+ [\w/] )''' % _classes, re.X) #url_re = Re(r'''( # \b \w[\w\+\-\.]+:// %(c)s* \[ %(c)s+ \] (?: %(c)s+ [\w/] )? | # \b \w[\w\+\-\.]+:// %(c)s+ [\w/] | # \b mailto: %(c)s+ \@ %(c)s* \[ %(c)s+ \] (?: %(c)s+ [\w/] )? | # \b mailto: %(c)s+ \@ %(c)s+ [\w/] | # \b %(c)s+ \@ %(c)s+ \. \w+ \b #)''' % _classes, re.X)
No comments:
Post a Comment