From acc3e48399aa1d5510a08616ab63ace1471f91d9 Mon Sep 17 00:00:00 2001 From: Azuma Kasumi Date: Mon, 9 May 2022 17:47:21 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=83=86=E3=82=AD=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=81=AE=E6=AD=A3=E8=A6=8F=E8=A1=A8=E7=8F=BE=E3=81=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AgileWorks/AgileWorks/Login/View/LoginViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AgileWorks/AgileWorks/Login/View/LoginViewController.swift b/AgileWorks/AgileWorks/Login/View/LoginViewController.swift index 28ab6b8..10d1109 100644 --- a/AgileWorks/AgileWorks/Login/View/LoginViewController.swift +++ b/AgileWorks/AgileWorks/Login/View/LoginViewController.swift @@ -17,7 +17,7 @@ protocol LoginView: AnyObject { class LoginViewController: UIViewController { private let serverProtocol = "https://" private static let kValidServerPattern = try? NSRegularExpression(pattern: #"^[-a-z0-9]+(?:\.[-a-z0-9]+)*\.?(?::\d+)?$"#, options: .caseInsensitive) - private static let kValidContextPattern = try? NSRegularExpression(pattern: #"^[a-z0-9]+"#, options: .caseInsensitive) + private static let kValidContextPattern = try? NSRegularExpression(pattern: #"^[a-z0-9]+(?:[-a-z0-9]+)*?(?::\d+)?$"#, options: .caseInsensitive) @IBOutlet private var appVersionLabel: UILabel! @IBOutlet private var urlStackView: UIStackView! -- GitLab