Fixed typos (#1376)

This commit is contained in:
Jonathan Kitt 2023-03-17 16:30:32 +01:00 committed by GitHub
parent efd42b3292
commit 6d4854e686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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}