aboutsummaryrefslogtreecommitdiff
path: root/src/regexp.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/regexp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regexp.h b/src/regexp.h
index 96f3747..a5fab14 100644
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -5,7 +5,7 @@
5#include <stdint.h> 5#include <stdint.h>
6#include <regex.h> 6#include <regex.h>
7#include <utility> 7#include <utility>
8#include "staticstring.h" 8#include "bu/fstring.h"
9 9
10class RegExp 10class RegExp
11{ 11{
@@ -21,12 +21,12 @@ public:
21 std::string getSubString( int nIndex ); 21 std::string getSubString( int nIndex );
22 const char *getSource() 22 const char *getSource()
23 { 23 {
24 return sSrc; 24 return sSrc.getStr();
25 } 25 }
26 26
27private: 27private:
28 StaticString sSrc; 28 Bu::FString sSrc;
29 StaticString sTest; 29 Bu::FString sTest;
30 regex_t re; 30 regex_t re;
31 bool bCompiled; 31 bool bCompiled;
32 int nSubStr; 32 int nSubStr;