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

Implement string escaping #328

Merged
merged 4 commits into from Feb 9, 2019

Conversation

Projects
None yet
2 participants
@noahhaasis
Copy link
Member

noahhaasis commented Feb 7, 2019

Implement string escaping as described in #311.
The following characters are supported:
\0| null character
\a | alert
\b | backspace
\f | form feed
\n | newline (line feed)
\r | carriage return
\t | horizontal tab
\v | vertical tab
\" | double quote
\' | single quote

Escaping any other character results in Err (InvalidEscapeCharacter c)

@pchiusano
Copy link
Member

pchiusano left a comment

Awesome, thanks!!

@pchiusano pchiusano merged commit b94eefd into unisonweb:master Feb 9, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.