Primitive predicate string::regexpCapture

When the given regexp matches the entire receiver, returns the substring matched by the given capture group

string regexpCapture(string regexp, int groupNumber)