regex string or RegExp instance to match
string of regex options (i = ignore case, g = global, m = multiline, u = unicode)
Rest
...captureNames:
T
names of the captures
Generated using TypeDoc
Like
regexParser
, but you can name your capture groups and get them back as the result instead. Fails if it doesn't have the same number of names as capture groups.