mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-03-06 12:18:04 +03:00
Make URL regex match anything again
Including spaces.
This commit is contained in:
parent
a03a8673e1
commit
6e4b6bdca8
|
@ -22,7 +22,7 @@ DEFAULT_DELIMITERS = {
|
||||||
'```': MessageEntityPre
|
'```': MessageEntityPre
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFAULT_URL_RE = re.compile(r'\[([\s\S]+?)\]\((.+?)\)')
|
DEFAULT_URL_RE = re.compile(r'\[([\s\S]*?)\]\(([\s\S]*?)\)')
|
||||||
DEFAULT_URL_FORMAT = '[{0}]({1})'
|
DEFAULT_URL_FORMAT = '[{0}]({1})'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user