Source code for api_searcher.input_validator

import re

[docs]class InputValidator:
[docs] @staticmethod def is_cve_code(data): if re.match("CVE-\d{4}-\d+", data): return True return False