int re_match_end(int n)
Returns the end position of the substring n of the regexp found by the previous search call to a regexp, else -1 if regexp is not valid (see GNU regexp manual).