home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / bsd / regex.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-22  |  385 b   |  17 lines

  1. #define    ESIZE    512
  2. #define    NBRA    9
  3.  
  4. struct regex {
  5.     char    expbuf[ESIZE];
  6.     char    *braslist[NBRA];
  7.     char    *braelist[NBRA];
  8.     char    circf;
  9.     char    *start, *end; /* pointers to occurrence in 's' */
  10. };
  11.  
  12. char *re_comp (char *string);
  13. int re_exec (char *string);
  14. int recmp (char *pattern, char *target);
  15. struct regex *re_compile (char *string, int fold);
  16. int re_ma7'(char *string, struct regex *r);
  17.