Closes #236 Closes #237 Closes #304
@@ -4,7 +4,7 @@ import types, utils, query
const
ytRegex = re"([A-z.]+\.)?youtu(be\.com|\.be)"
- twRegex = re"(www\.|mobile\.)?twitter\.com"
+ twRegex = re"(?<![^\/> ])(?<![^\/]\/)(www\.|mobile\.)?twitter\.com"
igRegex = re"(www\.)?instagram\.com"
cards = "cards.twitter.com/cards"
tco = "https://t.co"