This commit is contained in:
hackrobot
2024-04-11 15:39:10 +08:00
parent c9c51e4580
commit a6308c77c1

View File

@@ -204,7 +204,7 @@ def h5group(nickname, db: Session = Depends(get_db)):
print("newtextemoji",newtext)
# 不是 ASCII 字符,则获取该字符的 Unicode 代码点
newtext = convert_special_chars_to_emoji(input_string)
newtext = convert_special_chars_to_emoji(newtext)
print("newtextASI",newtext)
matches = re.findall(pattern, newtext)
print("matches", matches)