some typing

This commit is contained in:
shenjack 2022-11-18 23:56:34 +08:00
parent df707ceed2
commit 1506c8fb52
3 changed files with 2 additions and 5 deletions

View File

@ -11,7 +11,6 @@ github: @shenjackyuanjie
gitee: @shenjackyuanjie gitee: @shenjackyuanjie
""" """
import time
import statistics import statistics
from typing import Union from typing import Union

View File

@ -246,8 +246,8 @@ default_fonts_config = [
# 即:链接名称不能是空格等空白字符开头,链接名称不能是空格等空白字符结尾 # 即:链接名称不能是空格等空白字符开头,链接名称不能是空格等空白字符结尾
# 匹配的内容:[abc](def) # 匹配的内容:[abc](def)
# 显示的内容abc # 显示的内容abc
'match': re.compile(r'\[(.*?(?<!\s))\]\((.*?(?<!\s))\)'), 'match': re.compile(r'\[(.*?(?<!\s))]\((.*?(?<!\s))\)'),
'shown': re.compile(r'(?<=\[)(.*?(?<!\s))(?=\]\((.*?(?<!\s))\))'), 'shown': re.compile(r'(?<=\[)(.*?(?<!\s))(?=]\((.*?(?<!\s))\))'),
'style': SingleTextStyle(bold=True) 'style': SingleTextStyle(bold=True)
} }
] ]

View File

@ -56,7 +56,6 @@ DR_command = {
} }
} }
""" """
abc <a> abc -> abc() abc <a> abc -> abc()
abc a abc -> bbb() abc a abc -> bbb()
@ -64,7 +63,6 @@ abc -> help('abc')
""" """
# TODO 给爷做了他 # TODO 给爷做了他