diff options
author | Brad King <brad.king@kitware.com> | 2003-06-30 14:30:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-06-30 14:30:38 (GMT) |
commit | ef76ed76f8a31f706ee675160e5c57c34b608516 (patch) | |
tree | b0bad156b6f2fb3b4bfdb57a13a55a0b2d45f0bb /Source/kwsys/RegularExpression.hxx.in | |
parent | ac2de4f5defce85b7980d70656668d8aebc62079 (diff) | |
download | CMake-ef76ed76f8a31f706ee675160e5c57c34b608516.zip CMake-ef76ed76f8a31f706ee675160e5c57c34b608516.tar.gz CMake-ef76ed76f8a31f706ee675160e5c57c34b608516.tar.bz2 |
ENH: Added DLL support.
Diffstat (limited to 'Source/kwsys/RegularExpression.hxx.in')
-rw-r--r-- | Source/kwsys/RegularExpression.hxx.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/kwsys/RegularExpression.hxx.in b/Source/kwsys/RegularExpression.hxx.in index b156bec..c89f661 100644 --- a/Source/kwsys/RegularExpression.hxx.in +++ b/Source/kwsys/RegularExpression.hxx.in @@ -35,6 +35,7 @@ #ifndef @KWSYS_NAMESPACE@_RegularExpression_hxx #define @KWSYS_NAMESPACE@_RegularExpression_hxx +#include <@KWSYS_NAMESPACE@/Configure.h> #include <@KWSYS_NAMESPACE@/Configure.hxx> #include <@KWSYS_NAMESPACE@/std/string> @@ -47,8 +48,6 @@ namespace @KWSYS_NAMESPACE@ { -const int RegularExpressionNSUBEXP = 10; - /** \class RegularExpression * \brief Implements pattern matching with regular expressions. * @@ -186,7 +185,7 @@ const int RegularExpressionNSUBEXP = 10; * the line. It would match "drepa qrepb" in "rep drepa qrepb". * */ -class RegularExpression +class @KWSYS_NAMESPACE@_EXPORT RegularExpression { public: /** @@ -273,9 +272,10 @@ public: kwsys_std::string::size_type end(int n) const; kwsys_std::string match(int n) const; + enum { NSUBEXP = 10 }; private: - const char* startp[RegularExpressionNSUBEXP]; - const char* endp[RegularExpressionNSUBEXP]; + const char* startp[NSUBEXP]; + const char* endp[NSUBEXP]; char regstart; // Internal use only char reganch; // Internal use only const char* regmust; // Internal use only |