Closed moodymudskipper closed 4 years ago
actually quote(a) %in~% "a"
works and it is the one which should work.
as for vectors of patterns, that's closed by https://github.com/moodymudskipper/rangeops/commit/6a3c43ba54c52d7808a445ede58f503a2fb7348f
The code of
in_regex
should be reviewed and look more like%in{}%
, the rhs should be just as flexible."a" %in~% c("^b","^a")
should definitely returnTRUE
"ab" %in~% quote(a)
seem absurd but should be supported for consistency.