mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:03:41 +08:00
e8a6d31aea
string match is documented as setting an unset variable if a capture group is unmatched in an otherwise matched regex, and if the `--all` flag is not provided. However prior to this fix, it instead set a variable containing the empty string as a single value. Correct the implementation to match the documentation. Note that if the `--all` flag is provided we continue to set empty strings, which is documented. |
||
---|---|---|
.. | ||
checks | ||
pexpects | ||
test_functions | ||
.gitignore | ||
history_sample_bash | ||
history_sample_corrupt1 | ||
history_sample_fish_1_x | ||
history_sample_fish_2_0 | ||
interactive.config | ||
interactive.fish | ||
test_util.fish | ||
test.fish |