• Optimize regex.

    Parameters

    • regex: string | RegExp | AstRegExp

      Regex to optimize.

    Returns AstRegExp

    Optimized regex string.

  • Type Parameters

    • T extends AstNode

    Parameters

    • regex: T

    Returns T

Generated using TypeDoc