We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62275f7 commit e7fde5dCopy full SHA for e7fde5d
lingua_franca/parse.py
@@ -86,7 +86,7 @@ def normalize_decimals(text):
86
"""
87
sanitize_decimals = re.compile(r"\b\d+,{1}\d+\b")
88
for _, match in enumerate(re.finditer(sanitize_decimals, text)):
89
- text = text.replace(match[0], match[0].replace(',', '.'))
+ text = text.replace(match.group(0), match.group(0).replace(',', '.'))
90
return text
91
92
0 commit comments