mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-19 01:36:42 +00:00
5 lines
131 B
Python
5 lines
131 B
Python
import re
|
|
|
|
LINK_RE = re.compile(r"(https?://[\w\-_.]+\.[a-z]{2,4}([^\s<'\"]*|$))")
|
|
HTML_HREF_RE = re.compile(r"href=\"([^\"]+)\"")
|