Skip to contents

Contexts are tags prefixed with an @. Projects are tags prefixed with a + (plus). One task can contain multiple contexts and/or multiple projects that should all be preserved. The regular expressions are taken from the source code of Simpletask by Mark Janssen.

Usage

parse_tags(todo, tag)

Arguments

todo

A single todo (string).

tag

A plus + or @ sign (string)

Value

A (mini) data frame with a row for each context found and in that row a variable for the context and its start and end position in the task.

Author

Paul Lemmens (paul.lemmens@gmail.com)