diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2023-11-25 14:57:19 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2023-11-25 14:57:19 -0500 |
| commit | e6e482054de77f3fe5d65344da86065373cf5f23 (patch) | |
| tree | a6876c73bccf490512be5ff93fa808f3ce8d1c95 /tests/11-ordered-choice.sh | |
| parent | e0a55ba6176df325b65b1768bba929805444bf88 (diff) | |
Deprecate '-p' flag and replace backslash interpolation with curly brace
interpolation
Diffstat (limited to 'tests/11-ordered-choice.sh')
| -rw-r--r-- | tests/11-ordered-choice.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/11-ordered-choice.sh b/tests/11-ordered-choice.sh index 277741d..4334643 100644 --- a/tests/11-ordered-choice.sh +++ b/tests/11-ordered-choice.sh @@ -1,5 +1,5 @@ # The ordered choice operator (/) picks the first choice that matches -# Example: bp -p '"cabaret"/"cab"' matches either "cabaret" or "cab" +# Example: bp '{"cabaret"/"cab"}' matches either "cabaret" or "cab" # Note: if a match occurs, the options to the right will *never* be attempted, -# so bp -p '"cab"/"cabaret"' will always match "cab" instead of "cabaret" -bp -p '"foo" / "bar"' +# so bp '{"cab"/"cabaret"}' will always match "cab" instead of "cabaret" +bp '{"foo" / "bar"}' |
