mirror of
https://github.com/simon987/hexlib.git
synced 2025-09-17 07:06:52 +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=\"([^\"]+)\"")
|