diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h index 7dd666890..e94f762b3 100644 --- a/Source/cmStringCommand.h +++ b/Source/cmStringCommand.h @@ -19,6 +19,11 @@ #include "cmCommand.h" +namespace cmsys +{ + class RegularExpression; +} + /** \class cmStringCommand * \brief Common string operations * @@ -132,7 +137,9 @@ protected: bool HandleSubstringCommand(std::vector const& args); bool HandleStripCommand(std::vector const& args); bool HandleRandomCommand(std::vector const& args); - + void ClearMatches(); + void StoreMatches(cmsys::RegularExpression& re); + class RegexReplacement { public: