Skip to content

org-alert-time-match-string is too permissive #43

Description

@jwiegley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions