Fix regex in language test table reader

This commit is contained in:
Max Brunsfeld 2014-03-22 15:56:02 -07:00
parent c40411b4d1
commit 0d3fe99ef9

View file

@ -23,7 +23,7 @@ static string trim_output(const string &input) {
}
static vector<TestEntry> get_test_entries_from_string(string content) {
regex header_pattern("===+\n([\\w ]+)\n===+");
regex header_pattern("===+\n" "([^=]+)\n" "===+\n");
regex separator_pattern("---+");
vector<string> descriptions;