Skip to content

Commit

Permalink
Twitter fixup: Non-capturing group
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeJellinek committed Aug 17, 2023
1 parent f15c423 commit 51ed2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Twitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2023-08-17 18:30:11"
"lastUpdated": "2023-08-17 18:35:48"
}

/*
Expand Down Expand Up @@ -37,7 +37,7 @@
*/


let titleRe = /^(?:\(\d+\) )?(.+) .* (Twitter|X): .([\S\s]+). \/ (?:Twitter|X)/;
let titleRe = /^(?:\(\d+\) )?(.+) .* (?:Twitter|X): .([\S\s]+). \/ (?:Twitter|X)/;

function detectWeb(doc, url) {
if (url.includes('/status/')) {
Expand Down

0 comments on commit 51ed2d9

Please sign in to comment.