-
Notifications
You must be signed in to change notification settings - Fork 99
support R 4.0 raw string search #276
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
Conversation
a008f91
to
587dfbe
Compare
state->single_quoted = 0; | ||
} | ||
} else if (state->raw_parse_state == 2) { | ||
if (c == '(' || c == '[' || c == '{') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like |
works too (but undocumented at https://stat.ethz.ch/R-manual/R-devel/library/base/html/Quotes.html).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we should also support |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we should not since it is undocumented behavior.
I didn't have time to work on this, so I guess we will skip it for v0.3.7 |
587dfbe
to
a2e97ed
Compare
I have decided not to improve multiline support in this PR but rather to merge it first. After merging this PR, I reckon we should freeze the master branch and prepare a release. |
TODO:
better multiline support