diff --git a/update/agent/src/linux/datasid-parse.cpp b/update/agent/src/linux/datasid-parse.cpp index 1ff26c8e351e8aa81fd4c9ebb9fc9af5311939a6..231a5ed5b49b4be0dd2d7722e145ad2451f3e00a 100644 --- a/update/agent/src/linux/datasid-parse.cpp +++ b/update/agent/src/linux/datasid-parse.cpp @@ -103,11 +103,7 @@ bool isValid(std::string* line) { if (std::regex_match((*line), std::regex("((\\/\\/)|(\\/\\*)|(\\#))(.*)"))) return false; - /* - * if the line start with a different character than quote - * Note: this work only for character = letter. - * Case a special character, like ":", "#", it doesn't work. - */ + /* if the line start with a different character than quote */ if (!std::regex_match((*line), std::regex("(\")(.*)"))) return false;