Skip to content

fix: ignore version tokens as citations - #40

Merged
VikramLex merged 1 commit into
Graphicle-AI:mainfrom
dajiaohuang:w5/citation-version-disambiguation-20261113
Nov 13, 2026
Merged

VikramLex merged 1 commit into
Graphicle-AI:mainfrom
dajiaohuang:w5/citation-version-disambiguation-20261113

Conversation

@dajiaohuang

Copy link
Copy Markdown
Contributor

Summary

  • Ignore standalone version tokens such as 1.2:3 when extracting path:line citations.
  • Keep numeric filenames inside a directory, such as pkg/1.2:4, as valid citations.

Validation

  • cargo test --locked --lib citations_are_found_once_each_in_order: 1 passed.
  • cargo fmt --check: passed.
  • git diff --check: passed.

Signed-off-by: dajiaohuang <mikewushuwen@outlook.com>
@VikramLex
VikramLex merged commit 159d3ef into Graphicle-AI:main Nov 13, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants