CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Module RegExpPatterns

Provides utility predicates related to regular expressions.

Import path

import codeql.ruby.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.