-
-
Notifications
You must be signed in to change notification settings - Fork 382
duplicate entries in regex.json #213
Copy link
Copy link
Closed
Description
Describe the bug
There are some duplicate entries in regex.json:
Line 377 in dd077aa
"Name": "GitHub Access Token", Line 624 in dd077aa
"Name": "GitHub Access Token", Line 335 in dd077aa
"Name": "Square Access Token", Line 669 in dd077aa
"Name": "Square Access Token",
To Reproduce
Steps to reproduce the behavior:
from pywhat.helper import read_json
database = read_json("regex.json")
regexes = [regex["Name"] for regex in database]
duplicates = set([regex for regex in regexes if regexes.count(regex) > 1])
print(duplicates)Expected behavior
A clear and concise description of what you expected to happen.
N/A
Screenshots
If applicable, add screenshots to help explain your problem.
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
none
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels