From c955ff790f186a8779eca1b38be2629d68d3cac4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lais=20Frig=C3=A9rio?= <lfs@inf.ufpr.br>
Date: Wed, 14 Dec 2016 11:34:28 -0200
Subject: [PATCH] Issue #10: Comment - if  the line start with a different
 character than quotes

---
 update/agent/src/linux/datasid-parse.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/update/agent/src/linux/datasid-parse.cpp b/update/agent/src/linux/datasid-parse.cpp
index 1ff26c8e..231a5ed5 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;
-- 
GitLab