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 Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
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 Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
broken-config-continues.err Fix invocation tests. 2019-01-28 20:44:07 -08:00
broken-config-continues.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
broken-config-continues.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
command-1.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
command-1.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
command-2.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
command-2.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
command-vars-persist.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
command-vars-persist.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
config-command-ordering.config Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
config-command-ordering.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
config-command-ordering.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
config.config Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
config.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
config.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
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 Add test harness for fish command invocation, and tests for init command. 2017-06-29 21:00:08 -07:00
init-command-2.out Add test harness for fish command invocation, and tests for init command. 2017-06-29 21:00:08 -07:00
init-command-mix-ordering.invoke Add test harness for fish command invocation, and tests for init command. 2017-06-29 21:00:08 -07:00
init-command-mix-ordering.out Add test harness for fish command invocation, and tests for init command. 2017-06-29 21:00:08 -07:00
init-command-mix.invoke Add test harness for fish command invocation, and tests for init command. 2017-06-29 21:00:08 -07:00
init-command-mix.out Add test harness for fish command invocation, and tests for init command. 2017-06-29 21:00:08 -07:00
init-command.invoke Add test harness for fish command invocation, and tests for init command. 2017-06-29 21:00:08 -07:00
init-command.out Add test harness for fish command invocation, and tests for init command. 2017-06-29 21:00:08 -07:00
interactive.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
interactive.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
login-interactive.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
login-interactive.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
login.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
login.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
no-login-no-interactive.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
no-login-no-interactive.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
rc-returned.err Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
rc-returned.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
version.grep Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
version.invoke Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00
version.out Add tests for some other command line option invocations. 2017-06-29 21:00:08 -07:00