next up previous contents index
Next: re_replace Up: Regular expressions Previous: re_match_beginning

re_match_end

  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).



Lionel Fournigault
Fri Nov 6 17:00:30 MET 1998