Skip to content

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