StaticINPUT_The longest value a caller matches when it names no length of its own.
StaticPATTERN_The longest pattern accepted when a caller names no length of its own.
StaticnestedSays whether a group that holds a quantifier or an alternation (at any depth) is itself followed by a quantifier.
A scan rather than a regex over the pattern, because the groups nest and
a regex cannot count them. Escapes and character classes are stepped
over: [+] is a plus sign, not a quantifier.
the pattern's source text
true for the exponential shape
StaticproblemSays why a pattern may not be compiled here: too long, a backreference,
or a quantified group that is itself quantified or an alternation.
Whether it COMPILES is the caller's question, since each caller has a
dialect (an anchoring, XML Schema's \i, JSON Schema's u flag).
the pattern
OptionalmaxLength: number
the longest pattern accepted;
PATTERN_MAX when omitted
the problem as a sentence, or '' when it is usable or empty
The checks a regular expression an administrator, a policy author or a caller wrote is held to before this service compiles it.
A static utility class; it holds no state and takes no dependencies.