2012-02-26 04:18:39 +00:00
|
|
|
#if !defined ISO && !defined ISO99 && !defined ISO11
|
1999-08-25 23:53:55 +00:00
|
|
|
type regex_t
|
1999-08-26 06:29:56 +00:00
|
|
|
element regex_t size_t re_nsub
|
1999-08-25 23:53:55 +00:00
|
|
|
|
|
|
|
type regoff_t
|
|
|
|
|
|
|
|
type regmatch_t
|
|
|
|
element regmatch_t regoff_t rm_so
|
|
|
|
element regmatch_t regoff_t rm_eo
|
|
|
|
|
|
|
|
constant REG_EXTENDED
|
|
|
|
constant REG_ICASE
|
|
|
|
constant REG_NOSUB
|
|
|
|
constant REG_NEWLINE
|
|
|
|
|
|
|
|
constant REG_NOTBOL
|
|
|
|
constant REG_NOTEOL
|
|
|
|
|
|
|
|
constant REG_NOMATCH
|
|
|
|
constant REG_BADPAT
|
|
|
|
constant REG_ECOLLATE
|
|
|
|
constant REG_ECTYPE
|
|
|
|
constant REG_EESCAPE
|
|
|
|
constant REG_ESUBREG
|
|
|
|
constant REG_EBRACK
|
|
|
|
constant REG_EPAREN
|
|
|
|
constant REG_EBRACE
|
|
|
|
constant REG_BADBR
|
2012-11-19 22:20:44 +00:00
|
|
|
constant REG_ERANGE
|
1999-08-25 23:53:55 +00:00
|
|
|
constant REG_ESPACE
|
|
|
|
constant REG_BADRPT
|
2012-02-26 04:18:39 +00:00
|
|
|
# if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
|
1999-08-25 23:53:55 +00:00
|
|
|
constant REG_ENOSYS
|
2010-01-09 18:56:41 +00:00
|
|
|
# endif
|
1999-08-25 23:53:55 +00:00
|
|
|
|
|
|
|
function int regcomp (regex_t*, const char*, int)
|
|
|
|
function int regexec (const regex_t*, const char*, size_t, regmatch_t[], int)
|
|
|
|
function size_t regerror (int, const regex_t*, char*, size_t)
|
|
|
|
function void regfree (regex_t*)
|
|
|
|
|
|
|
|
allow REG_*
|
|
|
|
allow re_*
|
|
|
|
allow rm_*
|
1999-08-26 00:13:21 +00:00
|
|
|
allow *_t
|
1999-08-25 23:53:55 +00:00
|
|
|
#endif
|