From: Martin Taibr Date: Wed, 18 Oct 2017 10:53:24 +0000 (+0200) Subject: i tend to copy paste this and it doesn't end well X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a6ef10bf17bf1bf0586bde72145d5d6627ef84e8;p=xonotic%2Fxonotic.wiki.git i tend to copy paste this and it doesn't end well --- diff --git a/assets/check-and-fix.py b/assets/check-and-fix.py index 0c76853..92ef9a3 100755 --- a/assets/check-and-fix.py +++ b/assets/check-and-fix.py @@ -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: