roman

0th

Percentile

Roman numerals

Match roman numerals.

Keywords
datasets
Usage
ROMAN
roman(lo, hi)
Arguments
lo
A non-negative integer. Minimum number of repeats, when grouped.
hi
positive integer. Maximum number of repeats, when grouped.
Format

An object of class regex (inherits from character) of length 1.

See Also

as.roman

Aliases
  • ROMAN
  • roman
Examples
# Constant form and character class
ROMAN
roman()

x <- c("MMMDCCCXLVIII", "MMMCMDCCCXLVIIV")
rx <- rebus.base::exactly(roman())
grepl(rx, x)
Documentation reproduced from package rebus.numbers, version 0.0-1, License: Unlimited

Community examples

Looks like there are no examples yet.