Skip to main content
Module

x/pretty_benching/utils.ts>matchWithIndex

:sauropod: A small lib to make your Deno benchmarking progress and results look pretty
Latest
function matchWithIndex
import { matchWithIndex } from "https://deno.land/x/pretty_benching@v0.3.3/utils.ts";

returns an array, that contains each index where the regexp mathes the string

Parameters

line: string
regexp: RegExp