diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-07-03 00:55:31 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-07-03 00:55:31 +0000 |
| commit | 2913e17def90109ac83922e55a9df8999844ec58 (patch) | |
| tree | 435d08bb62e3bfa045bcb4a59a9fcfba049fae1d /src/regexp.h | |
| parent | a1bc3936b85eab573361026ae323c1a02e0f0ccd (diff) | |
| download | build-2913e17def90109ac83922e55a9df8999844ec58.tar.gz build-2913e17def90109ac83922e55a9df8999844ec58.tar.bz2 build-2913e17def90109ac83922e55a9df8999844ec58.tar.xz build-2913e17def90109ac83922e55a9df8999844ec58.zip | |
Since libbu++-reorg is now the trunk, build has been updated to work with it.
Diffstat (limited to 'src/regexp.h')
| -rw-r--r-- | src/regexp.h | 8 |
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 | ||
| 10 | class RegExp | 10 | class 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 | ||
| 27 | private: | 27 | private: |
| 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; |
