Update gen_csv.py

This commit is contained in:
Kevin Huang
2023-08-30 22:48:02 +08:00
parent 7c97e208bc
commit b499e2bc2f
2 changed files with 95 additions and 95 deletions

View File

@@ -26,7 +26,7 @@ devc_model_names: List[str] = [] # 设备型号正式名
_re_title = re.compile(r'^#+')
_re_blanks = re.compile(r'\s+')
_re_char = re.compile(r'[^\W_]')
_re_char = re.compile(r'([+]+|[^\W_])')
_re_word = re.compile(r'([a-zA-Z0-9]+|[^\W_]{,3})')
_re_non_word = re.compile(r'[\W_]+')
# 匹配model和版本的正则