update of packages

This commit is contained in:
2023-11-04 19:26:41 +01:00
parent e162a12b58
commit 3b54a3236d
726 changed files with 297673 additions and 34585 deletions

View File

@@ -31,10 +31,10 @@
(defvar ledger-iso-date-regexp)
(defconst ledger-amount-decimal-comma-regex
"-?[1-9][0-9.]*[,]?[0-9]*")
"-?\\(?:[1-9][0-9.]\\|0\\)*[,]?[0-9]*")
(defconst ledger-amount-decimal-period-regex
"-?[1-9][0-9,]*[.]?[0-9]*")
"-?\\(?:[1-9][0-9,]*\\|0\\)[.]?[0-9]*")
(defconst ledger-other-entries-regex
"\\(^[~=A-Za-z].+\\)+")
@@ -192,7 +192,7 @@
(group (and num (? num)))
(eval sep)
(group (and num (? num)))))))
"Match a single date, in its 'written' form.")
"Match a single date, in its \"written\" form.")
(ledger-define-regexp full-date
(macroexpand
@@ -344,7 +344,7 @@
(note end-note))
(defconst ledger-amount-regex
(concat "\\( \\|\t\\| \t\\)[ \t]*-?"
(concat "\\( \\|\t\\| \t\\)[ \t]*[-+=]? *"
"\\(?:" ledger-commodity-regexp " *\\)?"
;; We either match just a number after the commodity with no
;; decimal or thousand separators or a number with thousand
@@ -352,7 +352,7 @@
;; or `.', because the match is non-greedy, it must leave at
;; least one of those symbols for the following capture
;; group, which then finishes the decimal part.
"\\(-?\\(?:[0-9]+\\|[0-9,.]+?\\)\\)"
"\\([-+=]? *\\(?:[0-9]+\\|[0-9,.]+?\\)\\)"
"\\([,.][0-9)]+\\)?"
"\\(?: *" ledger-commodity-regexp "\\)?"
"\\([ \t]*[@={]@?[^\n;]+?\\)?"
@@ -401,12 +401,14 @@
))
(defconst ledger-posting-regex
(concat "^[[:blank:]]+" ; initial white space
"\\(\\([*!]\\)?" ; state and account 1, state 2
"[[:blank:]]*\\(.*?\\)\\)?" ; account 3
"\\(?:\\(?:\t\\|[[:blank:]]\\{2,\\}\\)" ; column separator
"\\([^;\n]*?\\)" ; amount 4
"[[:blank:]]*\\(;.*\\)?\\)?$" ; comment 5
(concat "^[[:blank:]]+" ; initial white space
;; state and account, subexp 1
"\\(\\([*!]\\)?" ; state, subexp 2
"[[:blank:]]*\\(.*?\\)\\)?" ; account, subexp 3
"\\(?:\\(?:\t\\|[[:blank:]]\\{2,\\}\\)"
"\\([^;\n]*?\\)\\)?" ; amount, subexp 4
"\\(?:\\(?:\t\\|[[:blank:]]\\{2,\\}\\)"
"\\(;.*\\)\\)?$" ; comment, subexp 5
))