Skip to content

use regex to recognize roman numeral suffixes #16

@derek73

Description

@derek73

Roman numerals that occur after the name are currently recognized by putting the strings in the SUFFIXES constant. This works, but the regex below would recognize more variations of roman numbers.

("roman_numeral", re.compile(r'^(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$', re.I | re.U)),

The regex is currently in the REGEXES constant but not being used. Since the naming convention is pretty archaic and mostly reserved for kings, probably won't get around to it unless someone would find it useful.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions