Gets the root containing the given term, that is, the root of the literal, or a branch of the root disjunction.
Import path
import codeql.regex.nfa.NfaUtilsRegExpRoot getRoot(RegExpTerm term)Gets the root containing the given term, that is, the root of the literal, or a branch of the root disjunction.
import codeql.regex.nfa.NfaUtilsRegExpRoot getRoot(RegExpTerm term)