pub static QUOTED_PATH_NORMALIZER: LazyLock<Regex>Expand description
Regex for normalizing quoted paths that may contain spaces.
Handles commands like:
"C:/Program Files/Git/bin/git.exe" status→git status"/usr/local/bin/git" status→git status
This regex matches:
- Opening double quote
- A path (Unix or Windows, may contain spaces)
- The binary name (git, rm)
- Optional .exe extension
- Closing double quote