Function matchAll

  • Get detailed results of matching string with regular expression.

    Parameters

    • x: string

      a string

    • regexp: RegExp

      regular expression (with /g)

    Returns IterableIterator<RegExpMatchArray>

    match with capturing groups ...

Generated using TypeDoc