regex-explain - v1.6.0
    Preparing search index...

    Function parseRegexInput

    • Reads typed or selected text as a regex.

      Parameters

      • text: string

        Either a literal such as /ab+c/gi, optionally surrounded by whitespace, or a bare pattern.

      Returns RegexSource

      The regex; bare patterns have no flags. The pattern is not validated.