/*****
 NAME
	cregexp.h - header file for CRegExp class
 VERSION
	$Id$
 CHANGELOG
	$Log$
 */

#if !defined(CREGEXP_H_INCLUDED)
#define CREGEXP_H_INCLUDED

#include <coconut/cobject.h>
#include <coconut/pstring.h>
#include <coconut/pmemory.h>

#include <coconut/dconfig.h>
#if defined(COCONUT_HAVE_REGEX_H)
#  include <regex.h>
#else
#  error "this code require regex.h"
#endif

@interface CRegExp : CObject <PRegExp>
{
	regex_t			pattern_buffer ;

	unsigned int		compile_flag ;
	int			match_flag ;

	int			error_id ;
	id <PMemory>		msg_buffer ;
}

@end

#endif

