summaryrefslogtreecommitdiff
path: root/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'regex.h')
-rw-r--r--regex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/regex.h b/regex.h
index 70ba23bd02..e116f63c9f 100644
--- a/regex.h
+++ b/regex.h
@@ -64,12 +64,12 @@
/* perl-style extended pattern available */
#define RE_OPTION_EXTENDED (RE_OPTION_IGNORECASE<<1)
/* newline will be included for . and invert charclass matches */
-#define RE_OPTION_POSIX (RE_OPTION_EXTENDED<<1)
+#define RE_OPTION_POSIXLINE (RE_OPTION_EXTENDED<<1)
-#define RE_MAY_IGNORECASE (RE_OPTION_POSIX<<1)
+#define RE_MAY_IGNORECASE (RE_OPTION_POSIXLINE<<1)
#define RE_OPTIMIZE_ANCHOR (RE_MAY_IGNORECASE<<1)
#define RE_OPTIMIZE_EXACTN (RE_OPTIMIZE_ANCHOR<<1)
-#define RE_OPTIMIZE_NO_BM (RE_OPTIMIZE_ANCHOR<<1)
+#define RE_OPTIMIZE_NO_BM (RE_OPTIMIZE_EXACTN<<1)
/* For multi-byte char support */
#define MBCTYPE_ASCII 0