diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-05-11 21:22:24 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-05-11 21:22:24 (GMT) |
commit | 0d2c80aa2d9e9fc85c69ed68013524559000dc7a (patch) | |
tree | 00227ef54827fdcd0a79fe4dd3034da474648ffa /Source/cmSystemTools.cxx | |
parent | 05c0cf702428e7b1c5b3131fde0e7d3572a3e879 (diff) | |
download | CMake-0d2c80aa2d9e9fc85c69ed68013524559000dc7a.zip CMake-0d2c80aa2d9e9fc85c69ed68013524559000dc7a.tar.gz CMake-0d2c80aa2d9e9fc85c69ed68013524559000dc7a.tar.bz2 |
Extended the registry key regexp
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index a1787d3..6c92894 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -182,7 +182,7 @@ void cmSystemTools::ReplaceString(std::string& source, // Example : // HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.1\InstallPath // => will return the data of the "default" value of the key -// HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.4:Root +// HKEY_LOCAL_MACHINE\SOFTWARE\Scriptics\Tcl\8.4§Root // => will return the data of the "Root" value of the key bool ReadAValue(std::string &res, const char *key) { @@ -256,7 +256,7 @@ bool ReadAValue(std::string &res, const char *key) void cmSystemTools::ExpandRegistryValues(std::string& source) { #if _WIN32 - cmRegularExpression regEntry("\\[(HKEY[A-Za-z_ §0-9\\.\\\\]*)\\]"); + cmRegularExpression regEntry("\\[(HKEY.*)\\]"); // check for black line or comment while (regEntry.find(source)) |