-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix normal command double quote bug #9430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix normal command double quote bug #9430
Conversation
…ent_normal_command
@@ -113,7 +113,7 @@ const escapedParser = string('\\') | |||
export const keystrokesExpressionParser: Parser<string[]> = alt( | |||
escapedParser, | |||
specialCharacterParser, | |||
noneOf('"'), | |||
regexp(/./), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to the use of noneOf('"')
, parsing parameters that contain double quotes fails.
However, I believe that including double quotes is not an invalid case in normal command.
If replacing the original parser with regexp(/./)
introduces other issues, please let me know!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
What this PR does / why we need it:
Which issue(s) this PR fixes
#9431
Special notes for your reviewer: