2 * Copyright (C) 1984-2017 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 PATTERN_TYPE struct re_pattern_buffer *
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 PATTERN_TYPE regex_t *
25 #define CLEAR_PATTERN(name) name = NULL
30 #define PATTERN_TYPE pcre *
31 #define CLEAR_PATTERN(name) name = NULL
37 #define PATTERN_TYPE int
38 #define CLEAR_PATTERN(name) name = 0
45 #define PATTERN_TYPE char **
46 #define CLEAR_PATTERN(name) name = NULL
51 extern int reg_show_error;
52 #define PATTERN_TYPE struct regexp *
53 #define CLEAR_PATTERN(name) name = NULL
57 #define PATTERN_TYPE void *
58 #define CLEAR_PATTERN(name)