Skip to content

Commit

Permalink
Merge pull request jxxghp#2833 from wikrin/main
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp authored Oct 10, 2024
2 parents ef7f0af + fde33d2 commit 9f29124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/string.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def clear(text: Union[list, str], replace_word: str = "",
忽略特殊字符
"""
# 需要忽略的特殊字符
CONVERT_EMPTY_CHARS = r"[、.。,,·::;;!!'’\"“”()()\[\]【】「」\-—\+\|\\_/&#~~]"
CONVERT_EMPTY_CHARS = r"[、.。,,·::;;!!'’\"“”()()\[\]【】「」\-—\+\|\\_/&#~~]"
if not text:
return text
if not isinstance(text, list):
Expand Down

0 comments on commit 9f29124

Please sign in to comment.