names()
public
Returns a list of names of captures as an array of strings. It is
same as mtch.regexp.names.
/(?<foo>.)(?<bar>.)(?<baz>.)/.match("hoge").names
m = /(?<x>.)(?<y>.)?/.match("a")
m.names
static VALUE
match_names(VALUE match)
{
match_check(match);
return rb_reg_names(RMATCH(match)->regexp);
}