Skip to content

Commit

Permalink
hotfix - update user regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Dec 17, 2021
1 parent f07c746 commit 8874255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
hyperlink_replacements = {
r":issue:`([0-9]+)`": r"`GH/\1 <https://github.com/Ouranosinc/xclim/issues/\1>`_",
r":pull:`([0-9]+)`": r"`PR/\1 <https://github.com/Ouranosinc/xclim/pull/\1>`_",
r":user:`([a-zA-Z0-9_]+)`": r"`@\1 <https://github.com/\1>`_",
r":user:`([a-zA-Z0-9_.-]+)`": r"`@\1 <https://github.com/\1>`_",
}

for search, replacement in hyperlink_replacements.items():
Expand Down

0 comments on commit 8874255

Please sign in to comment.