Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pdoc/render_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def linkify_repl(m: re.Match):
re.sub(
r"""
# Part 1: foo.bar or foo.bar() (without backticks)
(?<![/=?#&\.]) # heuristic: not part of a URL
(?<![/=?#&\.\w]) # heuristic: not part of a URL or word
# First part of the identifier (e.g. "foo") - this is optional for relative references.
(?:
\b
Expand Down
Loading