From cf622554c748754353f84c9cb3df0e13038ca43d Mon Sep 17 00:00:00 2001 From: Quentin Mazars-Simon Date: Tue, 13 Dec 2022 15:08:36 +0100 Subject: [PATCH] Add support for Vimeo Venues URLs example URLs: `https://venues.vimeo.com/1234556`, `https://venues.vimeo.com/12345678/abcdef123` --- MeetingBar/MeetingServices.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MeetingBar/MeetingServices.swift b/MeetingBar/MeetingServices.swift index 55a403be..f59adb10 100644 --- a/MeetingBar/MeetingServices.swift +++ b/MeetingBar/MeetingServices.swift @@ -280,7 +280,7 @@ struct LinksRegex { let zhumu = try! NSRegularExpression(pattern: #"https://welink\.zhumu\.com/j/[0-9]+?pwd=[a-zA-Z0-9]+"#) let lark = try! NSRegularExpression(pattern: #" https://vc\.larksuite\.com/j/[0-9]+"#) let feishu = try! NSRegularExpression(pattern: #"https://vc\.feishu\.cn/j/[0-9]+"#) - let vimeo = try! NSRegularExpression(pattern: #"https://vimeo\.com/(showcase|event)/[0-9]+"#) + let vimeo = try! NSRegularExpression(pattern: #"https://vimeo\.com/(showcase|event)/[0-9]+|https://venues\.vimeo\.com/[^\s]+"#) let ovice = try! NSRegularExpression(pattern: #"https://([a-z0-9-.]+)?ovice\.in/[^\s]*"#) let facetime = try! NSRegularExpression(pattern: #"https://facetime\.apple\.com/join[^\s]*"#) let chorus = try! NSRegularExpression(pattern: #"https?://go\.chorus\.ai/[^\s]+"#)