# Test for the presence of a vowel
ore_ismatch("[aeiou]", c("sky","lake")) # => c(FALSE,TRUE)
# The same thing, in shorter form
c("sky","lake") %~% "[aeiou]"
# Same again: the first argument must be an "ore" object this way around
ore("[aeiou]") %~% c("sky","lake")
Run the code above in your browser using DataLab