Merge pull request #12 from bgreenwell/patch-1

Change `*` to `$` in Anchors Section of strings.Rmd
This commit is contained in:
Hadley Wickham 2015-12-02 07:47:08 +04:00
commit 539cbe8281
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ In this book, I'll write a regular expression like `\.` and the string that repr
By default, regular expressions will match any part of a string. It's often useful to _anchor_ the regular expression so that it matches from the start or end of the string. You can use:
* `^` to match the start of the string.
* `*` to match the end of the string.
* `$` to match the end of the string.
```{r}
x <- c("apple", "banana", "pear")