summaryrefslogtreecommitdiff
path: root/buildscripts/clang_format.py
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-09-12 11:48:24 -0400
committerMike Grundy <michael.grundy@10gen.com>2016-09-19 10:04:57 -0400
commite25b86e5617b2c50ca8b5b3e2f8c19bdef5d8ba5 (patch)
treef9e63b99e11b600c9fbae662e48f4cbc53474bf9 /buildscripts/clang_format.py
parent80c2fa4542927ba663dc377ca16379f4f11cffbb (diff)
downloadmongo-e25b86e5617b2c50ca8b5b3e2f8c19bdef5d8ba5.tar.gz
SERVER-25737 ESLint and clang-format "lint-patch" modes can miss files with uppercase characters
Diffstat (limited to 'buildscripts/clang_format.py')
-rwxr-xr-xbuildscripts/clang_format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/clang_format.py b/buildscripts/clang_format.py
index ce6ea8538e8..f25f0941736 100755
--- a/buildscripts/clang_format.py
+++ b/buildscripts/clang_format.py
@@ -648,7 +648,7 @@ def get_files_to_check_from_patch(patches):
candidates = []
# Get a list of candidate_files
- check = re.compile(r"^diff --git a\/([a-z\/\.\-_0-9]+) b\/[a-z\/\.\-_0-9]+")
+ check = re.compile(r"^diff --git a\/([\w\/\.\-]+) b\/[\w\/\.\-]+")
lines = []
for patch in patches: