mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 07:47:09 +08:00

Prior to this fix, an escaped character like \x41 (hex for ascii A) was interpreted the same was as A, so that $\x41 would be the same as $A. Fix this by inserting an INTERNAL_SEPARATOR before these escapes, so that we no longer treat it as part of the variable name. This also affects brackets; don't treat echo $foo\1331\135 the same as echo $foo[1]. Fixes #7969