aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/regexp.h')
-rw-r--r--src/nvim/regexp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/regexp.h b/src/nvim/regexp.h
index 9be0e562c7..1af01fe411 100644
--- a/src/nvim/regexp.h
+++ b/src/nvim/regexp.h
@@ -1,5 +1,15 @@
#ifndef NVIM_REGEXP_H
#define NVIM_REGEXP_H
+
+/* Second argument for vim_regcomp(). */
+#define RE_MAGIC 1 /* 'magic' option */
+#define RE_STRING 2 /* match in string instead of buffer text */
+#define RE_STRICT 4 /* don't allow [abc] without ] */
+
+/* values for reg_do_extmatch */
+#define REX_SET 1 /* to allow \z\(...\), */
+#define REX_USE 2 /* to allow \z\1 et al. */
+
/* regexp.c */
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "regexp.h.generated.h"