Files
boost_regex/example/jgrep/jgrep.h
T

42 lines
706 B
C
Raw Normal View History

2000-09-26 11:48:28 +00:00
/*
*
* Copyright (c) 1998-2000
* Dr John Maddock
*
2003-10-04 11:29:20 +00:00
* Use, modification and distribution are subject to the
2003-09-30 13:02:51 +00:00
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
2000-09-26 11:48:28 +00:00
*
*/
/*
* FILE jgrep.h
* VERSION see <boost/version.hpp>
2000-09-26 11:48:28 +00:00
*/
#ifndef _JGREP_H
#define _JGREP_H
#include <boost/regex.hpp>
2004-05-01 11:23:02 +00:00
typedef boost::basic_regex<char> re_type;
2000-09-26 11:48:28 +00:00
extern re_type e;
// flags for output:
extern bool use_case;
extern bool show_lines;
extern bool count_only;
extern bool files_only;
extern bool recurse;
extern bool regularexs;
extern bool words_only;
extern bool verbose;
void process_grep(const char* file);
#endif
2003-09-30 13:02:51 +00:00