You are viewing a single comment's thread. Return to all comments →
regex_pattern = r"M{0,3}(C?[MD]|D?C{0,3})(X?[LC]|L?X{0,3})(I?[VX]|V?I{1,3})$"`
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}(C?[MD]|D?C{0,3})(X?[LC]|L?X{0,3})(I?[VX]|V?I{1,3})$"`