CodeQL library for JavaScript
Search

Predicate getCanonicalCharClass

Gets the canonical CharClass for term.

Import path

import semmle.javascript.security.performance.ReDoSUtil
CharClass getCanonicalCharClass(RegExpTerm term)