• Get from regex part with number patterns.

    Parameters

    • regex: string | RegExp | AstNode

      Target regex.

    • Optional numberPatternsCount: number

      Number patterns to extract.

    Returns Expression[]

    Regex part with number patterns.

Generated using TypeDoc