Fix incorrect regex

Fixes #109
This commit is contained in:
Zed 2020-01-19 08:49:20 +01:00
parent ba57511a01
commit edb3751181
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ import types, utils, query
from unicode import Rune, `$`
const
ytRegex = re"([A-z.]+\.)?youtu(be.com|.be)"
twRegex = re"(www.|mobile.)?twitter.com"
ytRegex = re"([A-z.]+\.)?youtu(be\.com|\.be)"
twRegex = re"(www\.|mobile\.)?twitter\.com"
cards = "https://cards.twitter.com/cards"
tco = "https://t.co"
nbsp = $Rune(0x000A0)