Continue parsing the pest output

This commit is contained in:
Joscha 2021-11-18 23:46:41 +01:00
parent 6e53446a08
commit 90f74c82bc
3 changed files with 216 additions and 15 deletions

View file

@ -79,17 +79,21 @@ indented_line = { NEWLINE | WHITESPACE ~ rest ~ eol }
description = { indented_line* }
task_options = { (date | from | until | except | done)* }
task = {
"TASK"
~ title
~ (date | from | until | except | done)*
~ task_options
~ description
}
note_options = { (date | from | until | except)* }
note = {
"NOTE"
~ title
~ (date | from | until | except | done)*
~ note_options
~ description
}