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

Stop dropping continuing backslash #471

Merged
merged 2 commits into from
Aug 1, 2017

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Jul 26, 2017

In string or regexp literal, \ is a escape character and continuing \ is dropped like below:

/\\\\/ # => /\\/

This Pull Request stops the dropping:

/\\\\/ # => /\\\\/

aycabta added 2 commits July 27, 2017 01:43
In string or regexp literal,
\ is a escape character and continuing \ is dropped.
This Pull Request stop the dropping.
@hsbt
Copy link
Member

hsbt commented Aug 1, 2017

I'm not sure why it only fix L1238. But this pull request fixed realworld usecase.

I'm ok to merge this.

@hsbt hsbt merged commit 962e029 into ruby:master Aug 1, 2017
@aycabta aycabta deleted the stop-dropping-continuing-backslash branch August 1, 2017 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants