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 backslash handling in shell splitting on Windows #8

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

Conversation

haarg
Copy link
Member

@haarg haarg commented Nov 29, 2015

The way backslashes work is rather goofy and wasn't accounted for in the old routine. This changes the parser to use m//gc matching, making it easier to do multi-character matching. That makes it much easier to fix the backslash handling, since it relies on if there is a double quote immediately following a run of backslashes.

@Leont
Copy link
Member

Leont commented Dec 2, 2015

Awesome. I was planning an mgc refactoring already (even started it), even better to see it come with a bugfix :-)

@Leont Leont self-assigned this Mar 13, 2018
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