2 * Copyright (C) 1984-2015 Mark Nudelman
4 * You may distribute under the terms of either the GNU General Public
5 * License or the Less License, as specified in the README file.
7 * For more information, see the README file.
13 #define DEFINE_PATTERN(name) struct re_pattern_buffer *name
14 #define CLEAR_PATTERN(name) name = NULL
17 #if HAVE_POSIX_REGCOMP
20 #define REGCOMP_FLAG REG_EXTENDED
22 #define REGCOMP_FLAG 0
24 #define DEFINE_PATTERN(name) regex_t *name
25 #define CLEAR_PATTERN(name) name = NULL
30 #define DEFINE_PATTERN(name) pcre *name
31 #define CLEAR_PATTERN(name) name = NULL
37 #define DEFINE_PATTERN(name) int name
38 #define CLEAR_PATTERN(name) name = 0
45 #define DEFINE_PATTERN(name) char *name
46 #define CLEAR_PATTERN(name) name = NULL
51 extern int reg_show_error
;
52 #define DEFINE_PATTERN(name) struct regexp *name
53 #define CLEAR_PATTERN(name) name = NULL
57 #define DEFINE_PATTERN(name)
58 #define CLEAR_PATTERN(name)