home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / bsd / regex.h < prev    next >
C/C++ Source or Header  |  1993-02-05  |  436b  |  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. extern char *re_comp(const char *string);
  13. extern int re_exec(char *string);
  14. extern int recmp(char *pattern, char *target);
  15. extern struct regex *re_compile(char *string, int fold);
  16. extern int re_match(char *string, struct regex *r);
  17.