xref: /openbsd-src/usr.bin/less/pattern.h (revision b8c1323e0e1f1bd80d9b92c84f2b94276655bc25)
1a0ef22f9Sshadchin /*
275ca9e33Sshadchin  * Copyright (C) 1984-2012  Mark Nudelman
3*b8c1323eSnicm  * Modified for use with illumos by Garrett D'Amore.
4*b8c1323eSnicm  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
5a0ef22f9Sshadchin  *
6a0ef22f9Sshadchin  * You may distribute under the terms of either the GNU General Public
7a0ef22f9Sshadchin  * License or the Less License, as specified in the README file.
8a0ef22f9Sshadchin  *
975ca9e33Sshadchin  * For more information, see the README file.
10a0ef22f9Sshadchin  */
11a0ef22f9Sshadchin 
1275ca9e33Sshadchin #include <regex.h>
13a0ef22f9Sshadchin #define	REGCOMP_FLAG	REG_EXTENDED
14a0ef22f9Sshadchin #define	DEFINE_PATTERN(name)	regex_t *name
15a0ef22f9Sshadchin #define	CLEAR_PATTERN(name)	name = NULL
16