From e4ed126f9ff7c984a407a4aa1a73ff91fcea1058 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 23 Dec 2021 21:02:14 -0500 Subject: don't strip whitespace inside of strings --- 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 7744873..e61b5bd 100644 --- a/src/shell.pest +++ b/src/shell.pest @@ -6,7 +6,7 @@ bareword = @{ bareword_char+ } single_string = @{ single_string_char+ } double_string = @{ double_string_char+ } -word = { +word = ${ bareword | "'" ~ single_string ~ "'" | "\"" ~ double_string ~ "\"" -- cgit v1.2.3-54-g00ecf