From 3809ca6a7e119bcd1c77a190380597e937605e9a Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 8 Jan 2022 02:11:29 -0500 Subject: parse individual words from concatenated variables/barewords/etc --- src/shell.pest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shell.pest') 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)* } -- cgit v1.2.3-54-g00ecf