mirror of
https://github.com/github/codeql.git
synced 2026-02-28 21:03:50 +01:00
Fix issue with named backrefs; add needed import
This commit is contained in:
@@ -258,6 +258,9 @@ class RegExpQuantifier extends RegExpTerm, TRegExpQuantifier {
|
||||
result.occursInRegex(re, start, part_end)
|
||||
}
|
||||
|
||||
/** Holds if this term may match zero times. */
|
||||
predicate mayBeEmpty() { maybe_empty = true }
|
||||
|
||||
/** Holds if this term may match an unlimited number of times. */
|
||||
predicate mayRepeatForever() { may_repeat_forever = true }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user