clerk/journal/parser/testdata/digit_group_marks.txtar (view raw)
| 1 | -- input -- |
| 2 | 2024-01-01 groceries |
| 3 | expenses:food 1 000.00 UAH |
| 4 | expenses:supplies 1'000.00 USD |
| 5 | assets:checking -2_000.00 USD |
| 6 | -- expect -- |
| 7 | Journal |
| 8 | Transaction j:1:1-5:1 |
| 9 | Date: 2024-01-01 |
| 10 | Payee: "groceries" j:1:12-2:0 |
| 11 | Posting j:2:1-3:1 |
| 12 | Account j:2:3-2:16 |
| 13 | SubAccount: "expenses" j:2:3-2:11 |
| 14 | SubAccount: "food" j:2:12-2:16 |
| 15 | Amount j:2:18-2:18 |
| 16 | Quantity: 1000 |
| 17 | Commodity: "UAH" |
| 18 | CommodityPos: After |
| 19 | HasSpace: true |
| 20 | Precision: 2 |
| 21 | Decimal: "." |
| 22 | Thousands: " " |
| 23 | Posting j:3:1-4:1 |
| 24 | Account j:3:3-3:20 |
| 25 | SubAccount: "expenses" j:3:3-3:11 |
| 26 | SubAccount: "supplies" j:3:12-3:20 |
| 27 | Amount j:3:22-3:22 |
| 28 | Quantity: 1000 |
| 29 | Commodity: "USD" |
| 30 | CommodityPos: After |
| 31 | HasSpace: true |
| 32 | Precision: 2 |
| 33 | Decimal: "." |
| 34 | Thousands: "'" |
| 35 | Posting j:4:1-5:1 |
| 36 | Account j:4:3-4:18 |
| 37 | SubAccount: "assets" j:4:3-4:9 |
| 38 | SubAccount: "checking" j:4:10-4:18 |
| 39 | Amount j:4:20-4:20 |
| 40 | Quantity: -2000 |
| 41 | Commodity: "USD" |
| 42 | CommodityPos: After |
| 43 | HasSpace: true |
| 44 | Precision: 2 |
| 45 | Decimal: "." |
| 46 | Thousands: "_" |