From fdb126c2c22c53a919a42cf5c0354f3b2aed4c99 Mon Sep 17 00:00:00 2001 From: malcolmsailor Date: Sun, 27 Aug 2023 10:42:42 -0600 Subject: [PATCH] Roman Numerals: Don't substitute `d` for `0` in `add10` (#1635) --- music21/roman.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/music21/roman.py b/music21/roman.py index b4ac1539bf..c6e79bb485 100644 --- a/music21/roman.py +++ b/music21/roman.py @@ -2415,7 +2415,7 @@ def __init__( # immediately fix low-preference figures if isinstance(figure, str): - figure = figure.replace('0', 'o') # viio7 + figure = re.sub(r'(?