Skip to content

Commit

Permalink
Update pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
noobpk committed Nov 19, 2021
1 parent 7097c9c commit a22eb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpdesk/models.py
Expand Up @@ -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
Expand Down

0 comments on commit a22eb06

Please sign in to comment.