match-index (npm): match capture groups and return index
Keywords: regexp