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
str_replace errors when using "$" as a replacement. #83
Comments
stringr version 1.0.0 and stringi version 0.5.2 on both working and non-working boxes. |
On the boxes that fail (both Ubuntu and OS X):
On the box that works:
|
you may also want to consider using From syntactic view point, this was an error too in ICU 52.1, but apparently in ICU developers decided to throw an error and no longer ignore it in a later ICU release (like 55). In other words, this is not a bug. |
Running the escaped example returns this:
Perhaps stringr:::fix_replacement is no longer necessary on newer versions of ICU? |
The second backslashes in each of the code line got gobbled up by markdown; just imagine they are there. |
Hmmm.. I didn't know that |
All righty, I filed a patch for that: #84. |
Thanks! |
The code below works for me on some boxes, but not others and I am attempting to figure out what the difference is:
The text was updated successfully, but these errors were encountered: