i tend to copy paste this and it doesn't end well
authorMartin Taibr <taibr.martin@gmail.com>
Wed, 18 Oct 2017 10:53:24 +0000 (12:53 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Wed, 18 Oct 2017 10:53:24 +0000 (12:53 +0200)
assets/check-and-fix.py

index 0c76853..92ef9a3 100755 (executable)
@@ -31,7 +31,7 @@ def compile_regex(rgx: str):
     # regex (unlike re) supports non-constant length look-behinds
     return regex.compile(
         "".join(
-            [line.strip() for line in rgx]))
+            [line.lstrip() for line in rgx]))
 
 
 # examples: