Ver Fonte

Do not add space after period and colon.

scossu há 4 meses atrás
pai
commit
f2ef3c6d03
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      scriptshifter/hooks/general/__init__.py

+ 1 - 1
scriptshifter/hooks/general/__init__.py

@@ -12,7 +12,7 @@ MULTI_WS_RE = compile(r"(\s){2,}")
 # Punctuation and brackets.
 # TODO add angled brackets, opening and closing quotes, etc.
 NORM1_RE = compile(r"\s([.,;:\)\]}])")
-NORM2_RE = compile(r"([.,;:\)\]}])(\S)")
+NORM2_RE = compile(r"([,;\)\]}])(\S)")
 NORM3_RE = compile(r"([\(\[\{])\s")
 NORM4_RE = compile(r"(\S)([\(\[\{])")