CodeQL library for JavaScript
Search

Predicate getCanonicalizationFlags

Gets a string reperesentation of the flags used with the regular expression. Only the flags that are relevant for the canonicalization are included.

Import path

import semmle.javascript.security.performance.ReDoSUtil
string getCanonicalizationFlags(RegExpTerm root)