aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.h
blob: 1af01fe411a568b07fd941783dd0993b7d0282b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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"
#endif

#endif /* NVIM_REGEXP_H */