From 0934f77c2873e0e5e2ad0beca40d671c802902bc Mon Sep 17 00:00:00 2001 From: behrman Date: Fri, 15 Jul 2016 11:03:18 -0700 Subject: [PATCH] Fix typos - strings.Rmd (#149) * Fix typos * Changed excercise 10.2.6 1.2 back to original --- strings.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/strings.Rmd b/strings.Rmd index 51c974b..dd1f222 100644 --- a/strings.Rmd +++ b/strings.Rmd @@ -364,7 +364,7 @@ Note that the precedence of these operators is high, so you can write: `colou?r` ### Grouping and backreferences -You learned about parentheses earlier as a way to disambiguate complex expression. They do one other special thing: they also define numeric groups that you can refer to with _backreferences_, `\1`, `\2` etc.For example, the following regular expression finds all fruits that have a pair of letters that's repeated. +You learned about parentheses earlier as a way to disambiguate complex expression. They do one other special thing: they also define numeric groups that you can refer to with _backreferences_, `\1`, `\2` etc. For example, the following regular expression finds all fruits that have a pair of letters that's repeated. ```{r, cache = FALSE} str_view(fruit, "(..)\\1", match = TRUE) @@ -602,7 +602,7 @@ sentences %>% #### Exercises -1. Replace all `/`'s in a string with `\`'s. +1. Replace all `/`s in a string with `\`s. ### Splitting