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

cannot match backslash #26

Closed
aep opened this issue Apr 1, 2021 · 3 comments
Closed

cannot match backslash #26

aep opened this issue Apr 1, 2021 · 3 comments

Comments

@aep
Copy link

aep commented Apr 1, 2021

matching backslash doesn't seem to be possible

file <- '\\' EOL
EOL <-  ("\r\n"  / "\n" / "\r" )

input

\
@aep
Copy link
Author

aep commented Apr 1, 2021

as a workaround, matching '\x5c' works fine

@dolik-rce
Copy link
Contributor

You're right, support for escaping backslash was missing.

@arithy arithy closed this as completed in 5211290 Apr 2, 2021
@aep
Copy link
Author

aep commented Apr 2, 2021

great, thanks

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

No branches or pull requests

2 participants