Files
Cursor Agent 2e5933cec6 Fix normalizeQuery regex to preserve leading dots in dotfile names
The regex /^[@./]+/ greedily stripped all leading @, ., and / characters,
which caused dotfile queries like '.env' to be normalized to 'env'. This
made searches match too broadly and rank actual dotfiles last.

Changed to /^@?(\.\/)?/ which only strips an optional @ prefix and an
optional ./ path prefix, preserving leading dots that are meaningful
parts of filenames.
2026-02-17 20:47:15 +00:00
..