next up previous contents index
Next: re_match_end Up: Regular expressions Previous: re_backward_search

re_match_beginning

  int re_match_beginning(int n)

Returns the beginning position of the substring n of the regexp found by the previous search call to a regexp else -1 if regexp is not valid. The first substring of a regexp is numbered 0. (see GNU regexp manual).



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