diff --git a/src/AutoProject.cpp b/src/AutoProject.cpp index d427baf..b300a2a 100644 --- a/src/AutoProject.cpp +++ b/src/AutoProject.cpp @@ -265,7 +265,7 @@ void AutoProject::checkRules(const std::string &line) { void AutoProject::checkLanguageTags(const std::string& line) { if (!thislang.empty()) return; - static const std::regex tagcpp{"### tags: \\[.*'c\\+\\+'.*\\]"}; + static const std::regex tagcpp{"### tags: \\[.*'c\\+\\+.*\\]"}; static const std::regex tagc{"### tags: \\[.*'c'.*\\]"}; static const std::regex tagasm{"### tags: \\[.*'assembly'.*\\]"}; std::smatch pieces;