From 2b08a392f7151900621a8f1b370ee138261d076f Mon Sep 17 00:00:00 2001 From: hackbunny <7533668+hackbunny@users.noreply.github.com> Date: Thu, 3 Aug 2023 04:49:42 +0200 Subject: [PATCH] Twitter: Update title regex (#3092) --- Twitter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Twitter.js b/Twitter.js index 1e42b7fd1d..9799c1c74c 100644 --- a/Twitter.js +++ b/Twitter.js @@ -9,7 +9,7 @@ "inRepository": true, "translatorType": 4, "browserSupport": "gcsibv", - "lastUpdated": "2022-02-01 20:17:45" + "lastUpdated": "2023-08-03 01:28:31" } /* @@ -37,7 +37,7 @@ */ -let titleRe = /^(?:\(\d+\) )?(.+) .* Twitter: .([\S\s]+). \/ Twitter/; +let titleRe = /^(?:\(\d+\) )?(.+) .* Twitter: .([\S\s]+). \/ (?:Twitter|X)/; function detectWeb(doc, url) { if (url.includes('/status/')) {