Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Escape - character in regex character groups (#802)
* fix char escape * add test * fix verbosity in make test
- Loading branch information
1 parent
1955557
commit 9326f35
Showing
5 changed files
with
34 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
title = "gitleaks config" | ||
# https://learnxinyminutes.com/docs/toml/ for toml reference | ||
|
||
[[rules]] | ||
id = "pypi-upload-token" | ||
description = "PyPI upload token" | ||
regex = '''pypi-AgEIcHlwaS5vcmc[A-Za-z0-9\-_]{50,1000}''' | ||
tags = ["key", "pypi"] |
Binary file not shown.