fontconfig: Branch 'main' - 2 commits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 src/cutout.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bd423ed68fd0e9667203443f52b601b270a638cf
Merge: ccd5201 b269e68
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Wed Apr 10 06:33:11 2024 +0000

    Merge branch 'fix-invalid-escape' into 'main'
    
    Fix invalid escape character \s
    
    See merge request fontconfig/fontconfig!314

commit b269e6853be6278cc9fe06b1c1d92f7d31504c01
Author: Dan Yeaw <dan@xxxxxxx>
Date:   Sat Mar 9 21:56:11 2024 -0500

    Fix invalid escape character \s

diff --git a/src/cutout.py b/src/cutout.py
index 6b46529..39bdc54 100644
--- a/src/cutout.py
+++ b/src/cutout.py
@@ -37,8 +37,8 @@ if __name__== '__main__':
                 write = False
 
             if write and l:
-                stripped = re.sub('^\s+', '', l)
-                stripped = re.sub('\s*,\s*', ',', stripped)
+                stripped = re.sub(r'^\s+', '', l)
+                stripped = re.sub(r'\s*,\s*', ',', stripped)
                 if not stripped.isspace() and stripped:
                     out.write('%s\n' % stripped)
 



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux