diff --git a/strings.Rmd b/strings.Rmd index 5fef7b6..77dc712 100644 --- a/strings.Rmd +++ b/strings.Rmd @@ -395,12 +395,13 @@ You can also specify the number of matches precisely: - `{n}`: exactly n - `{n,}`: n or more -- `{,m}`: at most m +- `{1,m}`: at most m - `{n,m}`: between n and m ```{r} str_view(x, "C{2}") str_view(x, "C{2,}") +str_view(x, "C{1,3}") str_view(x, "C{2,3}") ```