summaryrefslogtreecommitdiff
path: root/bin/find-unused-typedefs.py
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-07-24 10:46:43 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-07-24 11:07:09 +0200
commit9b6ea15266e32b44f2075b30281a42c412d9dc33 (patch)
tree8305709ddebd7765f6c98871765f1aa154eadf67 /bin/find-unused-typedefs.py
parenta26a5bb71c32c1cf8c5ad4d2ef79f3ece5065a02 (diff)
Fix escaped sequences in regular expressions
Regression after commit bd96a6f7b7eb103f97bcd6eadc21908187e94dce, which changed meaning of these. Thanks Stephan! Change-Id: I43cb871de32bd01d98e9adbb6c20b4e3c88ce715 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99348 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'bin/find-unused-typedefs.py')
-rwxr-xr-xbin/find-unused-typedefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/find-unused-typedefs.py b/bin/find-unused-typedefs.py
index bf88c83bc7bd..9a6c0eef9118 100755
--- a/bin/find-unused-typedefs.py
+++ b/bin/find-unused-typedefs.py
@@ -3,7 +3,7 @@
import subprocess
# find typedefs, excluding the externals folder
-a = subprocess.Popen(r"git grep -P 'typedef\s+.+\s+\w+;' -- \"[!e][!x][!t]*\"", stdout=subprocess.PIPE, shell=True)
+a = subprocess.Popen("git grep -P 'typedef\\s+.+\\s+\\w+;' -- \"[!e][!x][!t]*\"", stdout=subprocess.PIPE, shell=True)
# parse out the typedef names
typedefSet = set()