aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.h
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-07-12 14:28:58 +0200
committerNicolas Hillegeer <nicolas@hillegeer.com>2014-07-12 14:28:58 +0200
commit5d53c51fae483b9a4cbb3636932f7d753d67c384 (patch)
tree87486e0f97b4252a6eb954ace05c47465daa2dfe /src/nvim/regexp.h
parent77db0b2bba97603e59614bb95d6eab76e42f9288 (diff)
parenta32df5e734460dfdf9bc85aebf5252d64fcb99f5 (diff)
downloadrneovim-5d53c51fae483b9a4cbb3636932f7d753d67c384.tar.gz
rneovim-5d53c51fae483b9a4cbb3636932f7d753d67c384.tar.bz2
rneovim-5d53c51fae483b9a4cbb3636932f7d753d67c384.zip
Merge #837 'Move defines from vim.h - phase2'
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"