4 lines
139 B
Python
4 lines
139 B
Python
from pathlib import Path
|
|
import re
|
|
|
|
very_close = r"""\w+[\.;]?\s\b(?=[MDCLXVI])M*(C[MD]|D?C{0,3})(X[CL]|L?X{0,3})(I[XV]|V?I{0,3})\.\s\d+""" |