diff --git a/src/linux/datasid-parse.cpp b/src/linux/datasid-parse.cpp
index 85ec8d132219492368534fbdc0af36ac694d5046..7fd8a42ce0063146ef760b4e5ea86f8af8e513eb 100644
--- a/src/linux/datasid-parse.cpp
+++ b/src/linux/datasid-parse.cpp
@@ -100,23 +100,19 @@ bool isValid(std::string* line) {
 
     std::string str(s);
     // re2::StringPiece input(str);
-    re2::RE2 re("((\\/\\/)|(\\/\\*)|(\\#))(.*)");
-
-    // assert(RE2::FullMatch("ruby:1234", "(\\w+):(\\d+)", &s, &i));
-    // assert(s == "ruby");
-    // assert(i == 1234);
+    // re2::RE2 re("((\\/\\/)|(\\/\\*)|(\\#))(.*)");
 
     normalize(line);
 
     /* if the line is a comment */
 
-// if(std::regex_match((*line),std::regex("((\\/\\/)|(\\/\\*)|(\\#))(.*)")))
-       // return false;
+    if (RE2::FullMatch(s, "((\\/\\/)|(\\/\\*)|(\\#))(.*)"))
+        return false;
 
     /* if the line start with a different character than quote */
 
-    // if (!std::regex_match((*line), std::regex("(\")(.*)")))
-       // return false;
+    if (!RE2::FullMatch(s,  "(\")(.*)"))
+        return false;
 
     /* 
      * if the line start with quote,