Fixed matches, coll()

  • coll() instead of fixed() for non-English text, as it implements the full rules for capitalization as used by the specified locale.
str_view("i İ ı I", fixed("İ", ignore_case = TRUE))
## [1] │ i <İ> ı I
str_view("i İ ı I", coll("İ", ignore_case = TRUE, locale = "tr"))
## [1] │ <i> <İ> ı I