Remove 'f-string', no place holders present

This commit is contained in:
Martin Whitehouse 2022-07-22 01:18:45 +02:00
parent 8d658b4c08
commit 280462c2fe
No known key found for this signature in database
GPG Key ID: 3FCE1D3E9DEC09C1

View File

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