diff options
Diffstat (limited to 'regex.h')
-rw-r--r-- | regex.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -69,8 +69,10 @@ #define RE_OPTION_IGNORECASE (1L) /* perl-style extended pattern available */ #define RE_OPTION_EXTENDED (RE_OPTION_IGNORECASE<<1) +/* newline will be included for ., ^ and $ ignore newline */ +#define RE_OPTION_POSIXLINE (RE_OPTION_EXTENDED<<1) /* newline will be included for . */ -#define RE_OPTION_MULTILINE (RE_OPTION_EXTENDED<<1) +#define RE_OPTION_MULTILINE (RE_OPTION_POSIXLINE<<1) /* search for longest match, in accord with POSIX regexp */ #define RE_OPTION_LONGEST (RE_OPTION_MULTILINE<<1) |