Dates not perfectly recognized [if they contain non-signifier text after the signifiers] #1809
Closed
2 of 8 tasks
Labels
duplicate
This issue, pull request or discussion already exists
scope: parsing markdown
See also 'scope: global filter'
type: bug
Something isn't working
Please check that this issue hasn't been reported before.
Expected Behavior
I would expect the date in the following task to be recognized by Tasks, as it would by a human:
Ideally, dates would be parsed with something like
\d+-\d\d-\d\d
, with an additional safety for preventing a non-digit at the end.Current behaviour
The date in the above task is not recognized in a
task
block, because of the final period (a final parenthesis also prevents the date from being recognized). This is very inconvenient, as missing due dates, etc. has a big impact.Steps to reproduce
The example above is not recognized by a block like:
Which Operating Systems are you using?
Obsidian Version
1.1.16
Tasks Plugin Version
2.0.1
Checks
Possible solution
The only solution is currently to be very careful and put a space or nothing after a date.
The text was updated successfully, but these errors were encountered: