Skip to content

Commit f2ef3c6

Browse files
committed
Do not add space after period and colon.
1 parent d1d28b3 commit f2ef3c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scriptshifter/hooks/general/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# Punctuation and brackets.
1313
# TODO add angled brackets, opening and closing quotes, etc.
1414
NORM1_RE = compile(r"\s([.,;:\)\]}])")
15-
NORM2_RE = compile(r"([.,;:\)\]}])(\S)")
15+
NORM2_RE = compile(r"([,;\)\]}])(\S)")
1616
NORM3_RE = compile(r"([\(\[\{])\s")
1717
NORM4_RE = compile(r"(\S)([\(\[\{])")
1818

0 commit comments

Comments
 (0)