Skip to contents

Parsing a task's priority, creation and due date actually combines elements that should be handled separately. However, the grep pattern that is used is quite useful and more difficult to strip into components. Additionally, these components are all prefixed before the actual task so it is sensible to combine parsing in one go.

Usage

parse_prefixes(todo)

Arguments

todo

A task (string), or a vector of tasks.

Value

A tibble with variables for creation date, completion date, and priority of a task. The tibble also contains the (original) task (as on file) and a "cleaned" version without aforementioned attributes.

References

https://github.com/mpcjanssen/simpletask-android/blob/197bd51f496bd6066df902445acc28df51910d60/src/main/java/nl/mpcjanssen/simpletask/task/Task.java

Author

Paul Lemmens (paul.lemmens@gmail.com)