fish-shell/tests/invocation
Fabian Homborg 864bb1f7a6 Add string-replace-fewer-backslashes feature
This disables an extra round of escaping in the `string replace -r`
replacement string.

Currently, to add a backslash to an a or b (to "escape" it):

    string replace -ra '([ab])' '\\\\\\\$1' a

7 backslashes!

This removes one of the layers, so now 3 or 4 works (each one escaped
for the single-quotes, so pcre receives two, which it reads as one literal):

    string replace -ra '([ab])' '\\\\$1' a

This is backwards-incompatible as replacement strings will change
meaning, so we put it behind a feature flag.

The name is kinda crappy, though.

Fixes #5474.
2019-03-15 15:18:19 +01:00
..
bad-switch.err
bad-switch.err.Darwin Fix for bad-switch test failing on Darwin; system-specific output. 2017-06-29 21:00:08 -07:00
bad-switch.invoke.disabled tests/invocation: Disable bad-switch test 2019-01-01 14:52:26 +01:00
broken-config-continues.config
broken-config-continues.err Fix invocation tests. 2019-01-28 20:44:07 -08:00
broken-config-continues.invoke
broken-config-continues.out
command-1.invoke
command-1.out
command-2.invoke
command-2.out
command-vars-persist.invoke
command-vars-persist.out
config-command-ordering.config
config-command-ordering.invoke
config-command-ordering.out
config.config
config.invoke
config.out
directory-redirect.err tests: Move directory redirection test to invocation 2019-02-13 13:05:50 +01:00
directory-redirect.err.SunOS tests: Move directory redirection test to invocation 2019-02-13 13:05:50 +01:00
directory-redirect.invoke.disabled Disable directory redirect test 2019-02-13 13:33:30 +01:00
features-nocaret1.invoke Allow setting feature flags on the command line 2018-05-06 11:20:14 -07:00
features-nocaret1.out Allow setting feature flags on the command line 2018-05-06 11:20:14 -07:00
features-nocaret2.invoke Allow setting feature flags on the command line 2018-05-06 11:20:14 -07:00
features-nocaret2.out Allow setting feature flags on the command line 2018-05-06 11:20:14 -07:00
features-nocaret3.invoke Bring back caret redirections under a feature flag 2018-05-06 11:20:14 -07:00
features-nocaret3.out Bring back caret redirections under a feature flag 2018-05-06 11:20:14 -07:00
features-nocaret4.invoke Bring back caret redirections under a feature flag 2018-05-06 11:20:14 -07:00
features-nocaret4.out Bring back caret redirections under a feature flag 2018-05-06 11:20:14 -07:00
features-qmark1.invoke Feature flag support for ? wildcard 2018-05-06 11:20:15 -07:00
features-qmark1.out Feature flag support for ? wildcard 2018-05-06 11:20:15 -07:00
features-qmark2.invoke Feature flag support for ? wildcard 2018-05-06 11:20:15 -07:00
features-qmark2.out Feature flag support for ? wildcard 2018-05-06 11:20:15 -07:00
features-string-backslashes-off.invoke Add string-replace-fewer-backslashes feature 2019-03-15 15:18:19 +01:00
features-string-backslashes-off.out Add string-replace-fewer-backslashes feature 2019-03-15 15:18:19 +01:00
features-string-backslashes.invoke Add string-replace-fewer-backslashes feature 2019-03-15 15:18:19 +01:00
features-string-backslashes.out Add string-replace-fewer-backslashes feature 2019-03-15 15:18:19 +01:00
init-command-2.invoke
init-command-2.out
init-command-mix-ordering.invoke
init-command-mix-ordering.out
init-command-mix.invoke
init-command-mix.out
init-command.invoke
init-command.out
interactive.invoke
interactive.out
login-interactive.invoke
login-interactive.out
login.invoke
login.out
no-login-no-interactive.invoke
no-login-no-interactive.out
rc-returned.err
rc-returned.invoke
version.grep
version.invoke
version.out