2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-18 13:55:15 +00:00

Merge branch 'master' into tgcrypto

This commit is contained in:
Dan
2018-02-07 00:31:18 +01:00

View File

@@ -31,7 +31,7 @@ from . import utils
class HTML:
HTML_RE = re.compile(r"<(\w+)(?: href=\"(.*)\")?>(.*)</\1>")
HTML_RE = re.compile(r"<(\w+)(?: href=([\"'])(.*)\2)?>(.*)</\1>")
MENTION_RE = re.compile(r"tg://user\?id=(\d+)")
def __init__(self, peers_by_id):