ReadonlypatternThe pattern, without slashes.
ReadonlyflagsThe flags.
ReadonlyokDiscriminates success from RegexExplanationError.
ReadonlynodesTop-level explanation steps, in match order.
ReadonlyflagThe meaning of each flag, in the order given.
ReadonlylengthHow long a match can be.
ReadonlywarningsCatastrophic backtracking problems; empty when none were found or the check was disabled.
ReadonlymultilineWhether ^ and $ match at line breaks anywhere in the pattern, through the m flag or a
group such as (?m:...), so that text is matched as separate lines.
A successfully explained regex.