diff options
author | Brad King <brad.king@kitware.com> | 2003-06-23 18:10:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-06-23 18:10:12 (GMT) |
commit | 38482b46d171bde2073fadab65118c5c9df29e0f (patch) | |
tree | cce4d062f94612f514f2b13cff42f5426c531b4b /Source/cmCacheManager.cxx | |
parent | b2368399d91b710616a3c53fc39bd8e11971b42f (diff) | |
download | CMake-38482b46d171bde2073fadab65118c5c9df29e0f.zip CMake-38482b46d171bde2073fadab65118c5c9df29e0f.tar.gz CMake-38482b46d171bde2073fadab65118c5c9df29e0f.tar.bz2 |
ENH: Merged use of the kwsys RegularExpression class instead of cmRegularExpression.
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r-- | Source/cmCacheManager.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index 43027e9..8d30fd0 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -19,9 +19,10 @@ #include "cmSystemTools.h" #include "cmCacheManager.h" #include "cmMakefile.h" -#include "cmRegularExpression.h" #include "stdio.h" +#include <cmsys/RegularExpression.hxx> + #if defined(_WIN32) || defined(__CYGWIN__) # include <windows.h> #endif // _WIN32 @@ -84,9 +85,9 @@ bool cmCacheManager::ParseEntry(const char* entry, CacheEntryType& type) { // input line is: key:type=value - cmRegularExpression reg("^([^:]*):([^=]*)=(.*[^\t ]|[\t ]*)[\t ]*$"); + cmsys::RegularExpression reg("^([^:]*):([^=]*)=(.*[^\t ]|[\t ]*)[\t ]*$"); // input line is: "key":type=value - cmRegularExpression regQuoted("^\"([^\"]*)\":([^=]*)=(.*[^\t ]|[\t ]*)[\t ]*$"); + cmsys::RegularExpression regQuoted("^\"([^\"]*)\":([^=]*)=(.*[^\t ]|[\t ]*)[\t ]*$"); bool flag = false; if(regQuoted.find(entry)) { |