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

Only one line in a multi-line string can be escaped; multiple should be possible #1

Closed
abstrctn opened this issue Mar 6, 2015 · 0 comments
Assignees
Labels

Comments

@abstrctn
Copy link
Contributor

abstrctn commented Mar 6, 2015

Ever backslash-escaped line in the following example should be removed in the final output:

key: value
\:ignore
\:skip
\:endskip
:end

However, only the first backslash is getting removed. The regexp that we are using to remove leading backslashes does not have the g or m flags, both of which are necessary to correctly remove every backslash.

@abstrctn abstrctn added the bug label Mar 6, 2015
@abstrctn abstrctn self-assigned this Mar 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant