summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-06-06 13:44:20 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-06-06 13:44:20 (GMT)
commit4a8d3fc1e34dbd0acfeeb34e5634b7b65fb1c9d3 (patch)
treeb0878143ffc1051852dcd5a44716fc22c343b116 /Source
parentd84a68d06711ed7cb519bbd99bb5b2cfa3de3f0e (diff)
downloadCMake-4a8d3fc1e34dbd0acfeeb34e5634b7b65fb1c9d3.zip
CMake-4a8d3fc1e34dbd0acfeeb34e5634b7b65fb1c9d3.tar.gz
CMake-4a8d3fc1e34dbd0acfeeb34e5634b7b65fb1c9d3.tar.bz2
better regexp for reg entries
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index dd1dc80..19aa5ef 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -270,7 +270,7 @@ bool ReadAValue(std::string &res, const char *key)
void cmSystemTools::ExpandRegistryValues(std::string& source)
{
#if defined(_WIN32) && !defined(__CYGWIN__)
- cmRegularExpression regEntry("\\[(HKEY[A-Za-z0-9_~\\:\\-\\(\\)\\.]*)\\]");
+ cmRegularExpression regEntry("\\[(HKEY[A-Za-z0-9_~\\:\\-\\(\\)\\.\\; ]*)\\]");
// check for black line or comment
while (regEntry.find(source))