Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upRegex error in R 4.0 #4
Open
Labels
Comments
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
jackobailey commentedApr 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]*))?)"
.