You are viewing a single comment's thread. Return to all comments →
regex_pattern = r"M{0,3}(CM|C{0,3}|CD|DC{0,3})(X[CLI]{0,1}|X{0,3}|LX{0,3})(I[XV]{0,1}|VI{0,3}|I{0,3})(?![IVXLDCM])"
Seems like cookies are disabled on this browser, please enable them to open this website
Validating Roman Numerals
You are viewing a single comment's thread. Return to all comments →
regex_pattern = r"M{0,3}(CM|C{0,3}|CD|DC{0,3})(X[CLI]{0,1}|X{0,3}|LX{0,3})(I[XV]{0,1}|VI{0,3}|I{0,3})(?![IVXLDCM])"