diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
commit | ec05778d5718a7912e506764d443a78d6a6179e3 (patch) | |
tree | 78a9a01532180030c095acefc45763f07c14edb8 /src/experimental/regex.h | |
parent | b20414ac1fe80a71a90601f4cd1767fa7014a9ba (diff) | |
download | libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.gz libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.bz2 libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.xz libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.zip |
Converted tabs to spaces with tabconv.
Diffstat (limited to '')
-rw-r--r-- | src/experimental/regex.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/experimental/regex.h b/src/experimental/regex.h index c83ebe8..e723450 100644 --- a/src/experimental/regex.h +++ b/src/experimental/regex.h | |||
@@ -14,31 +14,31 @@ | |||
14 | 14 | ||
15 | namespace Bu | 15 | namespace Bu |
16 | { | 16 | { |
17 | class RegEx | 17 | class RegEx |
18 | { | 18 | { |
19 | public: | 19 | public: |
20 | RegEx(); | 20 | RegEx(); |
21 | RegEx( const Bu::String &sSrc ); | 21 | RegEx( const Bu::String &sSrc ); |
22 | virtual ~RegEx(); | 22 | virtual ~RegEx(); |
23 | 23 | ||
24 | void compile( const Bu::String &sSrc ); | 24 | void compile( const Bu::String &sSrc ); |
25 | int getNumSubStrings(); | 25 | int getNumSubStrings(); |
26 | bool execute( const Bu::String &sSrc ); | 26 | bool execute( const Bu::String &sSrc ); |
27 | void getSubStringRange( int nIndex, int &iStart, int &iEnd ); | 27 | void getSubStringRange( int nIndex, int &iStart, int &iEnd ); |
28 | Bu::String getSubString( int nIndex ); | 28 | Bu::String getSubString( int nIndex ); |
29 | const Bu::String &getSource() | 29 | const Bu::String &getSource() |
30 | { | 30 | { |
31 | return sSrc; | 31 | return sSrc; |
32 | } | 32 | } |
33 | 33 | ||
34 | private: | 34 | private: |
35 | Bu::String sSrc; | 35 | Bu::String sSrc; |
36 | Bu::String sTest; | 36 | Bu::String sTest; |
37 | void *pRegEx; | 37 | void *pRegEx; |
38 | bool bCompiled; | 38 | bool bCompiled; |
39 | int nSubStr; | 39 | int nSubStr; |
40 | void *paSubStr; | 40 | void *paSubStr; |
41 | }; | 41 | }; |
42 | }; | 42 | }; |
43 | 43 | ||
44 | #endif | 44 | #endif |