diff --git a/regexps.qmd b/regexps.qmd index 5706d9a..742ccc5 100644 --- a/regexps.qmd +++ b/regexps.qmd @@ -456,7 +456,7 @@ All of these are these described below. ### Matching a repeated pattern You can refer back to previously matched text inside parentheses by using **back reference**. -Back references are usually numbered: `\1` refers to the match contained in the first parentheses, `\2` in the the second parentheses, and so on. +Back references are usually numbered: `\1` refers to the match contained in the first parenthesis, `\2` in the second parenthesis, and so on. For example, the following pattern finds all fruits that have a repeated pair of letters: ```{r}