Files
codeql/python/ql/src/Expressions/Regex/DuplicateCharacterInSet.py
2018-11-19 15:10:42 +00:00

7 lines
137 B
Python

import re
matcher = re.compile(r"[password|pwd]")
def find_password(data):
if matcher.match(data):
print("Found password!")