Merge pull request #432 from Fuco1/fix-amount-regex
Fix amount-regex to properly capture integer part.
This commit is contained in:
commit
3d8fd6d3de
1 changed files with 2 additions and 2 deletions
|
|
@ -27,8 +27,8 @@
|
|||
(defconst ledger-amount-regex
|
||||
(concat "\\( \\|\t\\| \t\\)[ \t]*-?"
|
||||
"\\([A-Z$€£₹_(]+ *\\)?"
|
||||
"\\(-?[0-9,\\.]+?\\)"
|
||||
"\\(.[0-9)]+\\)?"
|
||||
"\\(-?[0-9,]+\\)"
|
||||
"\\(\\.[0-9)]+\\)?"
|
||||
"\\( *[[:word:]€£₹_\"]+\\)?"
|
||||
"\\([ \t]*[@={]@?[^\n;]+?\\)?"
|
||||
"\\([ \t]+;.+?\\|[ \t]*\\)?$"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue