Fix incorrect regex

Fixes #109
This commit is contained in:
Zed 2020-01-19 08:49:20 +01:00
parent ba57511a01
commit edb3751181

View file

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