Update pattern

This commit is contained in:
noobpk 2021-11-19 23:11:33 +07:00
parent 7097c9c4c0
commit a22eb0673f

View File

@ -56,7 +56,7 @@ def get_markdown(text):
if not text:
return ""
pattern = fr'([\[\s\S\]]*?)\(([\s\S]*?):([\[\s\S\]]*?)\)'
pattern = fr'([\[\s\S\]]*?)\(([\s\S]*?):([\s\S]*?)\)'
# Regex check
if re.match(pattern, text):
# get get value of group regex