Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Escape strings (untested) #8

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

Conversation

Dolphin2Point1
Copy link

Attempts to escape strings while parsing arguments. Should fix stuff like this.

(Original conversation about this issue on fabricord)
It also allows you to escape quotation marks with a backslash. I haven't tested this, so maybe test this before releasing.

@shedaniel
Copy link
Member

This doesn't work if there is only 1 quote right

@Dolphin2Point1
Copy link
Author

oh you're right lol

@Dolphin2Point1
Copy link
Author

it currently does work if you put 1 quote, but if I want to fix that I need to write code to look ahead. I could do it but I don't really see that much of a point of doing that, if you want to put a quote you can always just escape it, by not doing that I'm not removing any functionality

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

Successfully merging this pull request may close these issues.

2 participants