Skip to content
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

Open
wants to merge 52 commits into
base: master
Choose a base branch
from

Conversation

s-kai273
Copy link
Contributor

@s-kai273 s-kai273 commented Jan 11, 2025

What this PR does / why we need it:

  • Fix normal command double quote bug

Which issue(s) this PR fixes

#9431

Special notes for your reviewer:

s-kai273 and others added 30 commits February 20, 2024 00:52
@@ -113,7 +113,7 @@ const escapedParser = string('\\')
export const keystrokesExpressionParser: Parser<string[]> = alt(
escapedParser,
specialCharacterParser,
noneOf('"'),
regexp(/./),
Copy link
Contributor Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants