From f5aca1a1b402bd7ebc944dc6e6fe65828d863365 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 02:14:08 +0000 Subject: Bu::FString is now String, and there's a shell script to fix any other programs that were using fstring, I hope. --- src/regex.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/regex.h') diff --git a/src/regex.h b/src/regex.h index 6aac8e3..06b6352 100644 --- a/src/regex.h +++ b/src/regex.h @@ -8,7 +8,7 @@ #ifndef BU_REG_EX_H #define BU_REG_EX_H -#include "bu/fstring.h" +#include "bu/string.h" #include @@ -18,22 +18,22 @@ namespace Bu { public: RegEx(); - RegEx( const Bu::FString &sSrc ); + RegEx( const Bu::String &sSrc ); virtual ~RegEx(); - void compile( const Bu::FString &sSrc ); + void compile( const Bu::String &sSrc ); int getNumSubStrings(); - bool execute( const Bu::FString &sSrc ); + bool execute( const Bu::String &sSrc ); void getSubStringRange( int nIndex, int &iStart, int &iEnd ); - Bu::FString getSubString( int nIndex ); - const Bu::FString &getSource() + Bu::String getSubString( int nIndex ); + const Bu::String &getSource() { return sSrc; } private: - Bu::FString sSrc; - Bu::FString sTest; + Bu::String sSrc; + Bu::String sTest; void *pRegEx; bool bCompiled; int nSubStr; -- cgit v1.2.3