The bare-word fallback still used \S+, so relative paths and unknown extensions swallowed a trailing backtick. Stop that alternative before backtick and double-quote, and keep the anchored extension branch.
The bare-word fallback still used \S+, so relative paths and unknown extensions swallowed a trailing backtick. Stop that alternative before backtick and double-quote, and keep the anchored extension branch.