refactor: syntax cleanup (#172)

This commit is contained in:
gasolin
2023-07-07 16:10:10 +05:30
committed by GitHub
parent 5e6aef1e37
commit f08ee6420a
2 changed files with 6 additions and 7 deletions
-1
View File
@@ -30,4 +30,3 @@ def clean_string(text):
cleaned_text = re.sub(r'([^\w\s])\1*', r'\1', cleaned_text) cleaned_text = re.sub(r'([^\w\s])\1*', r'\1', cleaned_text)
return cleaned_text return cleaned_text