bicarbon8/todoTxtWebUi

Projects and Contexts not recognised when starting within parenthesis or other similar delimiters

bicarbon8 opened this issue · 0 comments

if the text of a task is something like "do something at @work (+Jian and +Amy)" the "@work" and "+Amy" will be picked up successfully, but the "+Jian" will not because projects and contexts are expected to start with an empty space. This should be changed to empty space or any of the standard delimiters such as (, {, [, ", '

REPRO:

  1. create a task with the following text: do something at @work (+Jian and +Amy)
  2. view the list of detected projects (task.projects)

RESULT:
task.projects = ["+Amy"]

EXPECTED:
task.projects = ["+Jian","+Amy"]