From 38482b46d171bde2073fadab65118c5c9df29e0f Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 23 Jun 2003 14:10:12 -0400 Subject: ENH: Merged use of the kwsys RegularExpression class instead of cmRegularExpression. --- Source/cmConfigureFileCommand.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/cmConfigureFileCommand.cxx') diff --git a/Source/cmConfigureFileCommand.cxx b/Source/cmConfigureFileCommand.cxx index e43fc15d3e..d2a6443239 100644 --- a/Source/cmConfigureFileCommand.cxx +++ b/Source/cmConfigureFileCommand.cxx @@ -16,6 +16,8 @@ =========================================================================*/ #include "cmConfigureFileCommand.h" +#include + // cmConfigureFileCommand bool cmConfigureFileCommand::InitialPass(std::vector const& args) { @@ -106,7 +108,7 @@ void cmConfigureFileCommand::ConfigureFile() // now copy input to output and expand variables in the // input file at the same time std::string inLine; - cmRegularExpression cmdefine("#cmakedefine[ \t]*([A-Za-z_0-9]*)"); + cmsys::RegularExpression cmdefine("#cmakedefine[ \t]*([A-Za-z_0-9]*)"); while( cmSystemTools::GetLineFromStream(fin, inLine) ) { m_Makefile->ExpandVariablesInString(inLine, m_EscapeQuotes, m_AtOnly); -- cgit v1.2.1