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

Member predicate RegexEval::isUsedAsReplace

Holds if this regular expression evaluation is a ‘replacement’ operation, such as replacing all matches of the regular expression in the input string with another string.

predicate isUsedAsReplace()