diff --git a/seautils/seautils.py b/seautils/seautils.py index 9200927..ac71d1c 100644 --- a/seautils/seautils.py +++ b/seautils/seautils.py @@ -30,7 +30,7 @@ def md(soup: BeautifulSoup, **options) -> Any | str: return MarkdownConverter(**options).convert_soup(soup) def convert_rfc_references(text: str): - return re.sub(r"\(RFC\s(\d+)\)", r"(https://www.rfc-editor.org/rfc/rfc\1.html)", text) + return re.sub(r"\(\.rfc\s(\d+)", r"(https://www.rfc-editor.org/rfc/rfc\1.html", text) class SeaUtils(commands.Cog): """A collection of random utilities."""