The regular expression to extract group names from.
An array of group names.
regexGetGroupNames(/(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})/);;
//=> ['year', 'month', 'day']
This function only works with regular expressions that use named capture groups.
Generated using TypeDoc
Returns an array of group names from a regular expression.