Skip to content

Commit bda2e8b

Browse files
committed
2 parents 45d6283 + b801167 commit bda2e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/regexes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const regex_types = [
9898
copy_btn: document.getElementById("copy-regex-invite-links"),
9999
output: document.getElementById("regex-output-invite-links"),
100100
generator: function(settings) {
101-
const main_invites = `(?:https?:\\/\\/)?(?:www\\.|ptb\\.|canary\\.)?discord(?:app)?\\.(?:(?:com|gg)[/\\\\]+(?:invite|servers)[/\\\\]++[a-z0-9-_]+)`;
101+
const main_invites = `(?:https?:\\/\\/)?(?:www\\.|ptb\\.|canary\\.)?discord(?:app)?\\.(?:(?:com|gg)[/\\\\]+(?:invite|servers)[/\\\\]+[a-z0-9-_]+)`;
102102
if (settings.third_party.checked) {
103103
return `${main_invites}|(?:https?://)?(?:www\\.)?(?:dsc\\.gg|invite\\.gg+|discord\\.link|(?:discord\\.(gg|io|me|li|id))|disboard\\.org)[/\\\\]+[a-z0-9-_/]+`;
104104
} else {

0 commit comments

Comments
 (0)