From 51e21a316be6e052251b3dfc7d671061ebd67cee Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Dec 2009 18:03:28 +0000 Subject: Removed the old trunk contents. About to load up m3 --- src/regexp.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 src/regexp.h (limited to 'src/regexp.h') diff --git a/src/regexp.h b/src/regexp.h deleted file mode 100644 index a5fab14..0000000 --- a/src/regexp.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef REG_EXP_H -#define REG_EXP_H - -#include -#include -#include -#include -#include "bu/fstring.h" - -class RegExp -{ -public: - RegExp(); - RegExp( const char *sSrc ); - virtual ~RegExp(); - - void compile( const char *sSrc ); - int getNumSubStrings(); - bool execute( const char *sSrc ); - std::pair getSubStringRange( int nIndex ); - std::string getSubString( int nIndex ); - const char *getSource() - { - return sSrc.getStr(); - } - -private: - Bu::FString sSrc; - Bu::FString sTest; - regex_t re; - bool bCompiled; - int nSubStr; - regmatch_t *aSubStr; -}; - -#endif -- cgit v1.2.3