The previous regex only matched negative size values when they were the entire quoted attribute (e.g., "-5%"). This failed for multi-value attributes like tts:extent="-5% 7.5%" causing pycaption parse errors. The new pattern matches negative values anywhere in the text and preserves the unit during replacement. Closes #47
43 KiB
43 KiB