Fixed typos (#1376)
This commit is contained in:
parent
efd42b3292
commit
6d4854e686
|
@ -484,7 +484,7 @@ sentences |>
|
|||
str_view()
|
||||
```
|
||||
|
||||
If you want extract the matches for each group you can use `str_match()`.
|
||||
If you want to extract the matches for each group you can use `str_match()`.
|
||||
But `str_match()` returns a matrix, so it's not particularly easy to work with[^regexps-8]:
|
||||
|
||||
[^regexps-8]: Mostly because we never discuss matrices in this book!
|
||||
|
@ -554,7 +554,7 @@ str_match(x, "gr(?:e|a)y")
|
|||
## Pattern control
|
||||
|
||||
It's possible to exercise extra control over the details of the match by using a pattern object instead of just a string.
|
||||
This allows you control the so called regex flags and match various types of fixed strings, as described below.
|
||||
This allows you to control the so called regex flags and match various types of fixed strings, as described below.
|
||||
|
||||
### Regex flags {#sec-flags}
|
||||
|
||||
|
|
Loading…
Reference in New Issue