add "year" handling to ledger-iterate-regex
This commit is contained in:
parent
d752bef547
commit
ad4eac43a9
1 changed files with 1 additions and 1 deletions
|
|
@ -325,7 +325,7 @@
|
||||||
(note end-note))
|
(note end-note))
|
||||||
|
|
||||||
(defconst ledger-iterate-regex
|
(defconst ledger-iterate-regex
|
||||||
(concat "\\(Y\\s-+\\([0-9]+\\)\\|" ;; Catches a Y directive
|
(concat "\\(\\(?:Y\\|year\\)\\s-+\\([0-9]+\\)\\|" ;; Catches a Y/year directive
|
||||||
ledger-iso-date-regexp
|
ledger-iso-date-regexp
|
||||||
"\\([ *!]+\\)" ;; mark
|
"\\([ *!]+\\)" ;; mark
|
||||||
"\\((.*)\\)?" ;; code
|
"\\((.*)\\)?" ;; code
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue