fix 08-variable-and.sh

This commit is contained in:
Rutger van Beusekom 2018-11-14 19:40:46 +01:00
parent aa8aa10151
commit 03dcfb9a9f
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@
variable-and <-- name plus variable-word
variable-word <- (variable-regex / substitution / variable-subst / variable / variable-literal)+
variable-regex <-- name ('%%' / '%' / '##' / '#' / '^^' / '^' /',,' / ',' / '*' / '@' / '?')+ variable-word
variable-literal <- (!rbrace .)+
variable-literal <- (!rbrace !min !plus .)+
min < '-'
plus < '+'
lbrace < '{'