From 08422cbe28a432cd576c3d027b33307e5a3f34da Mon Sep 17 00:00:00 2001 From: leits Date: Tue, 1 Sep 2020 22:32:14 +0300 Subject: [PATCH] Make zoom regex less specified --- MeetingBar/Constants.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MeetingBar/Constants.swift b/MeetingBar/Constants.swift index 8f2b9656..bc0f93ee 100644 --- a/MeetingBar/Constants.swift +++ b/MeetingBar/Constants.swift @@ -16,7 +16,7 @@ struct TitleLengthLimits { struct LinksRegex { let meet = try! NSRegularExpression(pattern: #"https://meet.google.com/[a-z-]+"#) let hangouts = try! NSRegularExpression(pattern: #"https://hangouts.google.com/.*"#) - let zoom = try! NSRegularExpression(pattern: #"https://([a-z0-9.]+)?zoom.(us|com.cn)/j/[a-zA-Z0-9?&=]+"#) + let zoom = try! NSRegularExpression(pattern: #"https://([a-z0-9.]+)?zoom.(us|com.cn)/j/.*"#) let teams = try! NSRegularExpression(pattern: #"https://teams.microsoft.com/l/meetup-join/[a-zA-Z0-9_%\/=\-\+\.?]+"#) let webex = try! NSRegularExpression(pattern: #"https://([a-z0-9.]+)?webex.com/.*"#) let jitsi = try! NSRegularExpression(pattern: #"https://meet.jit.si/.*"#)