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.