diff --git a/spec/runtime/helpers/read_test_entries.cc b/spec/runtime/helpers/read_test_entries.cc index 4ef4bafb..7e478029 100644 --- a/spec/runtime/helpers/read_test_entries.cc +++ b/spec/runtime/helpers/read_test_entries.cc @@ -23,7 +23,7 @@ static string trim_output(const string &input) { } static vector get_test_entries_from_string(string content) { - regex header_pattern("===+\n([\\w ]+)\n===+"); + regex header_pattern("===+\n" "([^=]+)\n" "===+\n"); regex separator_pattern("---+"); vector descriptions;