fix torrent match

This commit is contained in:
jxxghp
2024-05-21 09:54:06 +08:00
parent ebe2795eae
commit cfb43b4b04
2 changed files with 21 additions and 10 deletions

View File

@ -137,6 +137,13 @@ class StringUtils:
return False
return True
@staticmethod
def is_english_word(word: str) -> bool:
"""
判断是否为英文单词有空格时返回False
"""
return word.isalpha()
@staticmethod
def str_int(text: str) -> int:
"""