]> git.g-eek.se Git - ranknauto.git/commit
Src. Parse the iCalendar (org-mode) priority pattern
authorGustav Eek <gustav.eek@fripost.org>
Mon, 25 Dec 2023 14:52:22 +0000 (15:52 +0100)
committerGustav Eek <gustav.eek@fripost.org>
Mon, 25 Dec 2023 19:46:14 +0000 (20:46 +0100)
commit36e720b26ce9fb5e79a5cb4596a7d66e493f6b10
tree79e63df4bf8a0f15565a5aa9718d6799e81609bf
parent5e8d58c3b01ad33c14730256c61c12619251f5a4
Src. Parse the iCalendar (org-mode) priority pattern

This implements only the parsing in *lib.winnow* of priority patterns:
`(A)`, `(A1)`, `[#A]`, etc. The priority pattern occurse after any
bullets, numbers or priorities: ` 8. 45 % [#A] Text`.

The operation is the similar to the owne with numbers. The difference
is that the iCalendar priority patterns apply only after the other
patterns.

The *Conf* enum is updated with an *ical* field.

Also tests are provided.
src/lib.rs