mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-14 22:11:16 -03:00
Feature flag support for ? wildcard
This partially reverts 6e56637cf0 and #4520
by bringing back the ? wildcard, guarded by the qmark-noglob feature flag.
This commit is contained in:
1
tests/invocation/features-qmark1.invoke
Normal file
1
tests/invocation/features-qmark1.invoke
Normal file
@@ -0,0 +1 @@
|
||||
--features '' -c 'string match --quiet "??" ab ; echo "qmarkon: $status"'
|
||||
1
tests/invocation/features-qmark1.out
Normal file
1
tests/invocation/features-qmark1.out
Normal file
@@ -0,0 +1 @@
|
||||
qmarkon: 0
|
||||
1
tests/invocation/features-qmark2.invoke
Normal file
1
tests/invocation/features-qmark2.invoke
Normal file
@@ -0,0 +1 @@
|
||||
--features 'qmark-noglob' -C 'string match --quiet "??" ab ; echo "qmarkoff: $status"'
|
||||
1
tests/invocation/features-qmark2.out
Normal file
1
tests/invocation/features-qmark2.out
Normal file
@@ -0,0 +1 @@
|
||||
qmarkoff: 1
|
||||
Reference in New Issue
Block a user