From 296df6603bf01c9c801f12086a8e51e2f77afa63 Mon Sep 17 00:00:00 2001 From: "kbr@google.com" Date: Fri, 12 Feb 2010 22:38:37 +0000 Subject: [PATCH] Modified default blacklist regexp to match nothing, as empty regexp was matching everything. See http://stackoverflow.com/questions/940822/regular-expression-syntax-for-match-nothing/940856 . Review URL: http://codereview.chromium.org/601064 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@38965 0039d316-1c4b-4281-b951-d872f2087c98 --- gcl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcl.py b/gcl.py index 1ed90519ed..1d96e74bc3 100755 --- a/gcl.py +++ b/gcl.py @@ -1018,7 +1018,7 @@ def Change(change_info, args): # Valid extensions for files we want to lint. DEFAULT_LINT_REGEX = r"(.*\.cpp|.*\.cc|.*\.h)" -DEFAULT_LINT_IGNORE_REGEX = r"" +DEFAULT_LINT_IGNORE_REGEX = r"$^" def Lint(change_info, args): """Runs cpplint.py on all the files in |change_info|"""