powered by
ROMAN roman(lo, hi)
regex
character
as.roman
# Constant form and character class ROMAN roman() x <- c("MMMDCCCXLVIII", "MMMCMDCCCXLVIIV") rx <- rebus.base::exactly(roman()) grepl(rx, x)
Run the code above in your browser using DataLab