diff options
Diffstat (limited to 'Source/cmStringCommand.h')
-rw-r--r-- | Source/cmStringCommand.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h index 7dd6668..e94f762 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<std::string> const& args); bool HandleStripCommand(std::vector<std::string> const& args); bool HandleRandomCommand(std::vector<std::string> const& args); - + void ClearMatches(); + void StoreMatches(cmsys::RegularExpression& re); + class RegexReplacement { public: |