Skip to content

Commit 0e0c7ec

Browse files
committed
Fix #618: Update gong regex to include subdomains
1 parent 213186b commit 0e0c7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MeetingBar/MeetingServices.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ struct LinksRegex {
287287
let facetime = try! NSRegularExpression(pattern: #"https://facetime\.apple\.com/join[^\s]*"#)
288288
let chorus = try! NSRegularExpression(pattern: #"https?://go\.chorus\.ai/[^\s]+"#)
289289
let pop = try! NSRegularExpression(pattern: #"https?://pop\.com/j/[0-9-]+"#)
290-
let gong = try! NSRegularExpression(pattern: #"https?://join\.gong\.io/[^\s]+"#)
290+
let gong = try! NSRegularExpression(pattern: #"https?://([a-z0-9-.]+)?join\.gong\.io/[^\s]+"#)
291291
let livestorm = try! NSRegularExpression(pattern: #"https?://app\.livestorm\.com/p/[^\s]+"#)
292292
let luma = try! NSRegularExpression(pattern: #"https://lu\.ma/join/[^\s]*"#)
293293
let preply = try! NSRegularExpression(pattern: #"https://preply\.com/[^\s]*"#)

0 commit comments

Comments
 (0)