summaryrefslogtreecommitdiff
path: root/usr.bin/less/pattern.h
blob: 7e8c327a9ce33d12afee3a5f7884ef5740078fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Copyright (C) 1984-2012  Mark Nudelman
 * Modified for use with illumos by Garrett D'Amore.
 * Copyright 2014 Garrett D'Amore <garrett@damore.org>
 *
 * You may distribute under the terms of either the GNU General Public
 * License or the Less License, as specified in the README file.
 *
 * For more information, see the README file.
 */

#include <regex.h>
#define	REGCOMP_FLAG	REG_EXTENDED
#define	DEFINE_PATTERN(name)	regex_t *name
#define	CLEAR_PATTERN(name)	name = NULL