regex.h | regex.h | |||
---|---|---|---|---|
skipping to change at line 92 | skipping to change at line 92 | |||
REG_BADRPT | REG_BADRPT | |||
} reg_errcode_t; | } reg_errcode_t; | |||
/* POSIX regcomp() flags. */ | /* POSIX regcomp() flags. */ | |||
#define REG_EXTENDED 1 | #define REG_EXTENDED 1 | |||
#define REG_ICASE (REG_EXTENDED << 1) | #define REG_ICASE (REG_EXTENDED << 1) | |||
#define REG_NEWLINE (REG_ICASE << 1) | #define REG_NEWLINE (REG_ICASE << 1) | |||
#define REG_NOSUB (REG_NEWLINE << 1) | #define REG_NOSUB (REG_NEWLINE << 1) | |||
/* Extra regcomp() flags. */ | /* Extra regcomp() flags. */ | |||
#define REG_BASIC 0 | ||||
#define REG_LITERAL (REG_NOSUB << 1) | #define REG_LITERAL (REG_NOSUB << 1) | |||
/* POSIX regexec() flags. */ | /* POSIX regexec() flags. */ | |||
#define REG_NOTBOL 1 | #define REG_NOTBOL 1 | |||
#define REG_NOTEOL (REG_NOTBOL << 1) | #define REG_NOTEOL (REG_NOTBOL << 1) | |||
#endif /* !TRE_USE_SYSTEM_REGEX_H */ | #endif /* !TRE_USE_SYSTEM_REGEX_H */ | |||
/* REG_NOSPEC and REG_LITERAL mean the same thing. */ | ||||
#if defined(REG_LITERAL) | ||||
#define REG_NOSPEC REG_LITERAL | ||||
#elif defined(REG_NOSPEC) | ||||
#define REG_LITERAL REG_NOSPEC | ||||
#endif /* defined(REG_NOSPEC) */ | ||||
/* The maximum number of iterations in a bound expression. */ | /* The maximum number of iterations in a bound expression. */ | |||
#undef RE_DUP_MAX | #undef RE_DUP_MAX | |||
#define RE_DUP_MAX 255 | #define RE_DUP_MAX 255 | |||
/* The POSIX.2 regexp functions */ | /* The POSIX.2 regexp functions */ | |||
int regcomp(regex_t *preg, const char *regex, int cflags); | int regcomp(regex_t *preg, const char *regex, int cflags); | |||
int regexec(const regex_t *preg, const char *string, size_t nmatch, | int regexec(const regex_t *preg, const char *string, size_t nmatch, | |||
regmatch_t pmatch[], int eflags); | regmatch_t pmatch[], int eflags); | |||
size_t regerror(int errcode, const regex_t *preg, char *errbuf, | size_t regerror(int errcode, const regex_t *preg, char *errbuf, | |||
size_t errbuf_size); | size_t errbuf_size); | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added | |||
tre-config.h | tre-config.h | |||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
/* Define to the absolute path to the system regex.h */ | /* Define to the absolute path to the system regex.h */ | |||
/* #undef TRE_SYSTEM_REGEX_H_PATH */ | /* #undef TRE_SYSTEM_REGEX_H_PATH */ | |||
/* Define to include the system regex.h from TRE regex.h */ | /* Define to include the system regex.h from TRE regex.h */ | |||
/* #undef TRE_USE_SYSTEM_REGEX_H */ | /* #undef TRE_USE_SYSTEM_REGEX_H */ | |||
/* Define to enable wide character (wchar_t) support. */ | /* Define to enable wide character (wchar_t) support. */ | |||
#define TRE_WCHAR 1 | #define TRE_WCHAR 1 | |||
/* TRE version string. */ | /* TRE version string. */ | |||
#define TRE_VERSION "0.6.0" | #define TRE_VERSION "0.6.2" | |||
/* TRE version level 1. */ | /* TRE version level 1. */ | |||
#define TRE_VERSION_1 0 | #define TRE_VERSION_1 0 | |||
/* TRE version level 2. */ | /* TRE version level 2. */ | |||
#define TRE_VERSION_2 6 | #define TRE_VERSION_2 6 | |||
/* TRE version level 3. */ | /* TRE version level 3. */ | |||
#define TRE_VERSION_3 0 | #define TRE_VERSION_3 2 | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||