tests/testthat/_snaps/subset.md

can't use boundaries

Code
  str_subset(c("a", "b c"), "")
Condition
  Error in `str_subset()`:
  ! `pattern` can't be the empty string (`""`).
Code
  str_subset(c("a", "b c"), boundary())
Condition
  Error in `str_subset()`:
  ! `pattern` can't be a boundary.


Try the stringr package in your browser

Any scripts or data that you put into this service are public.

stringr documentation built on Nov. 15, 2023, 1:08 a.m.