summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/regexp.h b/regexp.h
index ebd30ada53..684851c548 100644
--- a/regexp.h
+++ b/regexp.h
@@ -30,6 +30,8 @@ typedef struct regexp {
char program[1]; /* Unwarranted chumminess with compiler. */
} regexp;
-#define ROPT_ANCH 1
-#define ROPT_SKIP 2
-#define ROPT_IMPLICIT 4
+#define ROPT_ANCH 3
+#define ROPT_ANCH_BOL 1
+#define ROPT_ANCH_GPOS 2
+#define ROPT_SKIP 4
+#define ROPT_IMPLICIT 8