mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-02-22 05:11:00 +01:00
Update pattern
This commit is contained in:
parent
7097c9c4c0
commit
a22eb0673f
@ -56,7 +56,7 @@ def get_markdown(text):
|
|||||||
if not text:
|
if not text:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
pattern = fr'([\[\s\S\]]*?)\(([\s\S]*?):([\[\s\S\]]*?)\)'
|
pattern = fr'([\[\s\S\]]*?)\(([\s\S]*?):([\s\S]*?)\)'
|
||||||
# Regex check
|
# Regex check
|
||||||
if re.match(pattern, text):
|
if re.match(pattern, text):
|
||||||
# get get value of group regex
|
# get get value of group regex
|
||||||
|
Loading…
Reference in New Issue
Block a user