diff --git a/add_links/match.py b/add_links/match.py index 41c9ef5..cc18fdc 100644 --- a/add_links/match.py +++ b/add_links/match.py @@ -362,9 +362,7 @@ def find_link_and_section(q: str, content: str, linkto: str | None = None): def find_refs(text: str) -> list[str]: """Find in wikitext.""" - refs = re.findall("]*)>(.+?)", text) - print(refs) return refs