Draft: Add single quotes and quote escaping to command parser
- Feb 12, 2024
-
-
Logan Aerl Arias authored
-
- Nov 18, 2023
-
-
Hanicef authored
-
- Nov 17, 2023
-
-
Hanicef authored
-
this patch adds two convenience features to the command parser:
these two features solves a minor issue with command parameters where double quotes can't easily be escaped. with this patch, you now have two options: either wrap it in single quotes ( or escape it with a backslash (say 'i can say "quotes" here'
),say "i can say \"quotes\" here"
)
EDIT: single quotes was removed due to concerns of breaking changes (thanks @Zwip-Zwap_Zapony for pointing that out).