mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-10 08:22:57 +00:00
fix
This commit is contained in:
@@ -69,7 +69,7 @@ __PUNCTUATION_CLEANUP_PATTERN = re.compile(
|
||||
+ "".join(PUNCTUATIONS) + r"]+", # fmt: skip
|
||||
)
|
||||
*/
|
||||
static __PUNCTUATION_CLEANUP_PATTERN: Lazy<regex::Regex> = Lazy::new(|| {
|
||||
static PUNCTUATION_CLEANUP_PATTERN: Lazy<regex::Regex> = 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}"
|
||||
|
||||
Reference in New Issue
Block a user