Skip to content

Commit

Permalink
Update parser.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
marekkokot authored Jan 13, 2024
1 parent 83f51b6 commit ac308fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kmc_tools/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CParser::CParser(const std::string& src):
exit(1);
}
//input_line_pattern = "\\s*(\\w*)\\s*=\\s*(.*)$";
input_line_pattern = "^\\s*([\\w-+]*)\\s*=\\s*(.*)$";
input_line_pattern = "^\\s*([\\w+-]*)\\s*=\\s*(.*)$";
output_line_pattern = "^\\s*(.*)\\s*=\\s*(.*)$"; //TODO: consider valid file name
empty_line_pattern = "^\\s*$";
}
Expand Down Expand Up @@ -253,4 +253,4 @@ bool CParser::nextLine(std::string& line)
}
}

// ***** EOF
// ***** EOF

0 comments on commit ac308fe

Please sign in to comment.