mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 10:13:42 +00:00
Date time is now visible on each task
This commit is contained in:
parent
839109b77b
commit
317b515e22
4 changed files with 27 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue