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: