CodeQL library for Swift
codeql/swift-all 2.0.4-dev (changelog, source)
Search

Module Utils

Utility predicates and classes that doesn’t depend on any signature.

Import path

import codeql.regex.HostnameRegexp

Predicates

getACommonTld

Gets a pattern that matches common top-level domain names in lower case.