From fee041da12d756e9e6d08f37ed571979e6e4c977 Mon Sep 17 00:00:00 2001 From: tuna2134 Date: Mon, 9 Sep 2024 11:43:17 +0000 Subject: [PATCH] fix --- sbv2_core/src/norm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbv2_core/src/norm.rs b/sbv2_core/src/norm.rs index 57594fa..3bce32f 100644 --- a/sbv2_core/src/norm.rs +++ b/sbv2_core/src/norm.rs @@ -69,7 +69,7 @@ __PUNCTUATION_CLEANUP_PATTERN = re.compile( + "".join(PUNCTUATIONS) + r"]+", # fmt: skip ) */ -static __PUNCTUATION_CLEANUP_PATTERN: Lazy = Lazy::new(|| { +static PUNCTUATION_CLEANUP_PATTERN: Lazy = Lazy::new(|| { let pattern = ( r"[^\u{3040}-\u{309F}\u{30A0}-\u{30FF}\u{4E00}-\u{9FFF}\u{3400}-\u{4DBF}\u{3005}".to_owned() + r"\u{0041}-\u{005A}\u{0061}-\u{007A}"