roman | R Documentation |
Match roman numerals.
ROMAN
roman(lo, hi)
lo |
A non-negative integer. Minimum number of repeats, when grouped. |
hi |
positive integer. Maximum number of repeats, when grouped. |
An object of class regex
(inherits from character
) of length 1.
as.roman
# Constant form and character class
ROMAN
roman()
x <- c("MMMDCCCXLVIII", "MMMCMDCCCXLVIIV")
rx <- rebus.base::exactly(roman())
grepl(rx, x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.