powered by
or(..., capture = FALSE) x %|% y or1(x, capture = FALSE)
paste
or(letters, LETTERS, "foo") letters %|% LETTERS %|% "foo" or1(letters) # implicit non-capturing group or1(letters, capture = TRUE) or1(letters, capture = NA)
Run the code above in your browser using DataLab