Date time is now visible on each task

This commit is contained in:
Vyn 2024-04-11 14:08:09 +02:00
parent 839109b77b
commit 317b515e22
4 changed files with 27 additions and 10 deletions

View file

@ -87,15 +87,15 @@ namespace mirai {
std::regex regex("- \\[(\\s|X)\\] (([0-9]{2}:[0-9]{2})-([0-9]{2}:[0-9]{2}) > )?(.*?)( -- (.*))?");
std::regex_match(str, matches, regex);
std::cout << "line " << str << std::endl;
std::cout << "M 0 " << matches[0] << std::endl;
std::cout << "M 1 " << matches[1] << std::endl;
std::cout << "M 2 " << matches[2] << std::endl;
std::cout << "M 3 " << matches[3] << std::endl;
std::cout << "M 4 " << matches[4] << std::endl;
std::cout << "M 5 " << matches[5] << std::endl;
std::cout << "M 6 " << matches[6] << std::endl;
std::cout << "M 7 " << matches[7] << std::endl;
/*std::cout << "line " << str << std::endl;*/
/*std::cout << "M 0 " << matches[0] << std::endl;*/
/*std::cout << "M 1 " << matches[1] << std::endl;*/
/*std::cout << "M 2 " << matches[2] << std::endl;*/
/*std::cout << "M 3 " << matches[3] << std::endl;*/
/*std::cout << "M 4 " << matches[4] << std::endl;*/
/*std::cout << "M 5 " << matches[5] << std::endl;*/
/*std::cout << "M 6 " << matches[6] << std::endl;*/
/*std::cout << "M 7 " << matches[7] << std::endl;*/
std::string text = matches[5];
trim(text);