You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Let's assume i have the following task: 2018-05-19 +read webpage http://todotxt.org/ +background
todotxtio recognizes the project background very well, but it does not recognize read as a project. This is due to the regular expression, which needs a space in front of a project/context.
It seems that during parsing of tasks this is not given, if the project/context is directly at the beginning of a task or if the project/context directly followings a date.
The text was updated successfully, but these errors were encountered:
That is an example, where it fails. My guess is that the date is recognized by a regex and that the rest string is evaluated or spaces are stripped of. Then a space would be missing.
Just try a similar line in your todo.txt
If anyone doesn't want to wait on this/use a fork, I think the topydo/lib/TodoParser has a good parser for todo.txt lines.
Doesn't have the convenience functions to read/write to files, but its a good starting point to wrap if you just want to write a quick script to parse a todotxt file.
It handles both the done.txt and todo.txt files, has worked well for my use case
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Let's assume i have the following task:
2018-05-19 +read webpage http://todotxt.org/ +background
todotxtio recognizes the project
background
very well, but it does not recognizeread
as a project. This is due to the regular expression, which needs a space in front of a project/context.It seems that during parsing of tasks this is not given, if the project/context is directly at the beginning of a task or if the project/context directly followings a date.
The text was updated successfully, but these errors were encountered: