Fix ledger-post-regex so that it would recognize integer amounts
This commit is contained in:
parent
8be2c706fb
commit
ec457f0ad7
1 changed files with 1 additions and 1 deletions
|
|
@ -343,7 +343,7 @@
|
|||
(defconst ledger-posting-regex
|
||||
(concat "^[ \t]+ ?" ;; initial white space
|
||||
"\\([*!]\\)? ?" ;; state, subexpr 1
|
||||
"\\([[:word:]: ]+\\(\n\\|[ \t][ \t]\\)\\)" ;; account, subexpr 2
|
||||
"\\([[:word:]: ]+?\\(\n\\|[ \t][ \t]\\)\\)" ;; account, subexpr 2
|
||||
"\\([^;\n]*\\)" ;; amount, subexpr 4
|
||||
"\\(.*\\)" ;; comment, subexpr 5
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue