This commit is contained in:
KamioRinn
2024-09-17 15:08:57 +08:00
committed by GitHub
parent 0c000191b3
commit 192ea6f6c9

View File

@@ -186,6 +186,7 @@ def replace_positive_quantifier(match) -> str:
match_2: str = match_2 if match_2 else ""
quantifiers: str = match.group(3)
number: str = num2str(number)
number = "" if number == "" else number
result = f"{number}{match_2}{quantifiers}"
return result