Skip to content

Commit

Permalink
feat: update regex in python checker to match python3.11-3.11.x patte…
Browse files Browse the repository at this point in the history
…rn (intel#3994)
  • Loading branch information
jananir640 authored Apr 8, 2024
1 parent c1d18c2 commit 1fe4be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cve_bin_tool/checkers/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PythonChecker(Checker):
]
FILENAME_PATTERNS = [r"python"]
VERSION_PATTERNS = [
r"python(?:[23]+\.[0-9])-([23]+\.[0-9]+\.[0-9]+)",
r"python(?:[23]+\.[0-9]+)-([23]+\.[0-9]+\.[0-9]+)",
r"pymalloc_debug\r?\n([23]+\.[0-9]+\.[0-9]+)",
r"([23]+\.[0-9]+\.[0-9]+)\r?\nPython %s",
r"([23]+\.[0-9]+\.[0-9]+)\r?\n%\.80s \(%\.80s\) %\.80s",
Expand Down

0 comments on commit 1fe4be7

Please sign in to comment.