org-alert
org-alert copied to clipboard
`org-alert-time-match-string` is too permissive
Hello, I've found that org-alert-time-match-string is too lax in what it parses. I have lots of date stamps elsewhere in my properties that it thinks are associated with the scheduling time. What works better for me is to constrain it as follows:
"\\(?:SCHEDULED\\|DEADLINE\\):\\s-+<[^>]+\\([0-9]\\{2\\}:[0-9]\\{2\\}\\).*>"
This way it only checks the time that immediately follows SCHEDULED or DEADLINE, and only the time within that timestamp.