CodeQL library for Python
codeql/python-all 0.11.11-dev (changelog, source)
Search

Module RegExpPatterns

Provides utility predicates related to regular expressions.

Import path

import semmle.python.dataflow.new.Regexp

Predicates

getACommonTld

Gets a pattern that matches common top-level domain names in lower case. DEPRECATED: use the similarly named predicate from HostnameRegex from the regex pack instead.