Continue parsing the pest output
This commit is contained in:
parent
6e53446a08
commit
90f74c82bc
3 changed files with 216 additions and 15 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue