Regex flags, ignore_case

Settings in {stringr} to control the details of the regexp.

ignore_case = TRUE allows characters to match either their uppercase or lowercase forms

bananas <- c("banana", "Banana", "BANANA")
str_view(bananas, "banana")
## [1] │ <banana>
str_view(bananas, regex("banana", ignore_case = TRUE))
## [1] │ <banana>
## [2] │ <Banana>
## [3] │ <BANANA>