diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-01-08 02:11:29 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-01-08 02:18:39 -0500 |
commit | 3809ca6a7e119bcd1c77a190380597e937605e9a (patch) | |
tree | 7dab7db52c64d0f7f8708d0ff0956972853c9eda /src/shell.pest | |
parent | 49c8dadc0c44a3000d2a3f53dd3e06539e797747 (diff) | |
download | nbsh-3809ca6a7e119bcd1c77a190380597e937605e9a.tar.gz nbsh-3809ca6a7e119bcd1c77a190380597e937605e9a.zip |
parse individual words from concatenated variables/barewords/etc
Diffstat (limited to 'src/shell.pest')
-rw-r--r-- | src/shell.pest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.pest b/src/shell.pest index b1bcae5..fce2c11 100644 --- a/src/shell.pest +++ b/src/shell.pest @@ -23,7 +23,7 @@ word = ${ redir_prefix? ~ (var | bareword | "'" ~ single_string ~ "'" | - "\"" ~ double_string ~ "\"") + "\"" ~ (var | double_string)+ ~ "\"")+ } exe = ${ word ~ (w ~ word)* } |