Browse Source

Removed unnecessary backslashes

AmitHofree 5 years ago
parent
commit
f735c9a5c9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      config/default.go

+ 2 - 2
config/default.go

@@ -80,7 +80,7 @@ title = "gitleaks config"
 
 
 [[rules]]
 [[rules]]
     description = "Google API key"
     description = "Google API key"
-    regex = '''AIza[0-9A-Za-z\\-_]{35}'''
+    regex = '''AIza[0-9A-Za-z\-_]{35}'''
     tags = ["key", "Google"]
     tags = ["key", "Google"]
 
 
 [[rules]]
 [[rules]]
@@ -135,7 +135,7 @@ title = "gitleaks config"
 
 
 [[rules]]
 [[rules]]
     description = "Square OAuth secret"
     description = "Square OAuth secret"
-    regex = '''sq0csp-[0-9A-Za-z\\-_]{43}'''
+    regex = '''sq0csp-[0-9A-Za-z\-_]{43}'''
     tags = ["key", "square"]
     tags = ["key", "square"]
 
 
 [[rules]]
 [[rules]]