Skip to content

Change + to * for repeated tasks to allow for entries at root #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 31, 2021

Conversation

safijari
Copy link
Contributor

@safijari safijari commented Jun 29, 2021

I'm using orgparse to parse my habits file, which may some times get written to by this app called Orgzly. Orgzly, for whatever reason, puts logbook entries without any spaces at the start. See top logbook entry below.

  :LOGBOOK:
- State "DONE"       from "TODO"       [2021-06-29 Tue 18:33]
  - State "DONE"       from "TODO"       [2021-06-27 Sun 20:29]
  - State "DONE"       from "TODO"       [2021-06-28 Mon 20:29]
  :END:

As far as I can tell that's valid org (and emacs treats it as such which I guess is the ultimate test). The change in regex I'm proposing here allows orgparse to read that data correctly. I have no idea if this has any unintended consequences tho.

Thanks for the library, it's been great!

@karlicoss
Copy link
Owner

thanks, looks good! sorry it took me so long to get to it, I'll try to merge all the PRs now and release soon 🙈

@karlicoss karlicoss merged commit 556a530 into karlicoss:master Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants