summaryrefslogtreecommitdiff
path: root/Source/cmProjectCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-04-04 15:30:15 +0000
committerKitware Robot <kwrobot@kitware.com>2019-04-04 11:30:54 -0400
commit7795b3f2bfe3dbab35a494ceee37745eaff110f4 (patch)
tree13680f8058fc87946067e8959c0ffdc04e61bc81 /Source/cmProjectCommand.cxx
parentdc6b76d1e751224c60aba5489fb62228cd8a6bad (diff)
parent30bb14c65777bad02b3360797bf9c7b0fbe3280e (diff)
downloadcmake-7795b3f2bfe3dbab35a494ceee37745eaff110f4.tar.gz
Merge topic 'modernize-raw-string-literal'
30bb14c657 Modernize: Enable modernize-raw-string-literal in clang-tidy Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3184
Diffstat (limited to 'Source/cmProjectCommand.cxx')
-rw-r--r--Source/cmProjectCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx
index de5d1edefb..116502618a 100644
--- a/Source/cmProjectCommand.cxx
+++ b/Source/cmProjectCommand.cxx
@@ -214,7 +214,7 @@ bool cmProjectCommand::InitialPass(std::vector<std::string> const& args,
}
cmsys::RegularExpression vx(
- "^([0-9]+(\\.[0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)?)?$");
+ R"(^([0-9]+(\.[0-9]+(\.[0-9]+(\.[0-9]+)?)?)?)?$)");
if (!vx.find(version)) {
std::string e = "VERSION \"" + version + "\" format invalid.";
this->Makefile->IssueMessage(MessageType::FATAL_ERROR, e);