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

Regex error in R 4.0 #4

Open
jackobailey opened this issue Apr 27, 2020 · 1 comment
Open

Regex error in R 4.0 #4

jackobailey opened this issue Apr 27, 2020 · 1 comment
Labels

Comments

@jackobailey
Copy link

@jackobailey jackobailey commented Apr 27, 2020

word_count breaks under R 4.0 due to the new build moving from PCRE1 to PRCE2.

Looks to be the various escaped elements in this string url_regex <- "((([A-Za-z]{3,9}:(?:\\/\\/)?)(?:[-;:&=+$,\\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=+$,\\w]+@)[A-Za-z0-9.-]+)((?:\\/[\\+~%\\/.\\w-_]*)?\\??(?:[-\\\\+=&;%@.\\w_]*)#?(?:[\\w]*))?)".

@leeper
Copy link
Owner

@leeper leeper commented Apr 27, 2020

Thanks. Let me know if you happen to figure out the solution. PRs welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.