You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Huge thanks for putting this book out there, amazing work as always. I've been going through the regex section (11.4.5) , and noticed what I believe is an error below
Judging from the context, I think you want str_replace_all in this case to produce
#> [1] "one house" "two cars" "three people"
But it seems to be instead applying the first replacement to all matches? Suppose this is a stringr issue but thought it would be easier to point out here.
The text was updated successfully, but these errors were encountered:
Hi Hadley,
Huge thanks for putting this book out there, amazing work as always. I've been going through the
regex
section (11.4.5) , and noticed what I believe is an error belowJudging from the context, I think you want
str_replace_all
in this case to produceBut it seems to be instead applying the first replacement to all matches? Suppose this is a
stringr
issue but thought it would be easier to point out here.The text was updated successfully, but these errors were encountered: