From 0b513933e42b24d65d1a73c482e836be1d070bbe Mon Sep 17 00:00:00 2001 From: qwertyyb Date: Thu, 9 Nov 2023 11:56:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=80=83=E8=99=91=E5=88=B0=E4=BC=9A?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BE=93=E5=85=A5=E8=B4=9F=E6=8B=85=EF=BC=8C?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E6=A8=A1=E5=BC=8F=E4=B8=8B=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E5=A4=A7=E5=86=99=E5=AD=97=E6=AF=8D=E6=97=B6=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E7=9B=B4=E6=8E=A5=E4=B8=8A=E5=B1=8F=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Fire/FireInputController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fire/FireInputController.swift b/Fire/FireInputController.swift index 993d28d..fd39ba5 100644 --- a/Fire/FireInputController.swift +++ b/Fire/FireInputController.swift @@ -186,7 +186,7 @@ class FireInputController: IMKInputController { // 获取输入的字符 let string = event.characters! - guard let reg = try? NSRegularExpression(pattern: "^[a-z]+$") else { + guard let reg = try? NSRegularExpression(pattern: "^[a-zA-Z]+$") else { return nil } let match = reg.firstMatch(