Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for Python
codeql/python-all 4.0.9 (changelog, source)

Predicate Make::alwaysMatchesHostname

Holds if term will always match a hostname, that is, all disjunctions contain a hostname pattern that isn’t inside a quantifier.

Import path

import codeql.regex.HostnameRegexp
predicate alwaysMatchesHostname(RegExpTerm term)