Skip to content

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

Merged
merged 4 commits into from
Apr 1, 2021
Merged

support R 4.0 raw string search #276

merged 4 commits into from
Apr 1, 2021

Conversation

randy3k
Copy link
Member

@randy3k randy3k commented Jun 13, 2020

TODO:

  • write tests
  • better multiline support

@randy3k randy3k force-pushed the raw_string_search branch 2 times, most recently from a008f91 to 587dfbe Compare June 13, 2020 19:14
state->single_quoted = 0;
}
} else if (state->raw_parse_state == 2) {
if (c == '(' || c == '[' || c == '{') {
Copy link
Member

@renkun-ken renkun-ken Jul 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

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 |?

Copy link
Member

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.

@randy3k
Copy link
Member Author

randy3k commented Sep 12, 2020

I didn't have time to work on this, so I guess we will skip it for v0.3.7

@randy3k randy3k force-pushed the raw_string_search branch from 587dfbe to a2e97ed Compare March 31, 2021 16:33
@randy3k
Copy link
Member Author

randy3k commented Mar 31, 2021

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.

@randy3k randy3k changed the title [WIP] support R 4.0 raw string search support R 4.0 raw string search Mar 31, 2021
@randy3k randy3k merged commit 47a93db into master Apr 1, 2021
@randy3k randy3k deleted the raw_string_search branch April 1, 2021 04:59
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

Successfully merging this pull request may close these issues.

2 participants