Variable romanNumeralRegexConst

romanNumeralRegex: RegExp = ...

Captures a valid Roman numeral sequence.

Capture groups:

# Description Example
0 Entire string "MCCXIV" from "MCCXIV"
1 Thousands "M" from "MCCXIV"
2 Hundreds "CC" from "MCCXIV"
3 Tens "X" from "MCCXIV"
4 Ones "IV" from "MCCXIV"
romanNumeralRegex.exec("M")      // [      "M", "M",   "",  "",   "" ]
romanNumeralRegex.exec("XII") // [ "XII", "", "", "X", "II" ]
romanNumeralRegex.exec("MCCXIV") // [ "MCCXIV", "M", "CC", "X", "IV" ]