Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrosinger authored May 22, 2024
2 parents 90833f7 + 7d35a97 commit 4bb3fc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grammar/ledger.ne
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
ws: /[ \t]+/,
absoluteNumber: { match: /[0-9.,]+/, value: (s:string) => s.replace(/,/g, '') },
numberSign: /-/,
currency: /[$£₤€₿₹¥¥₩Р₽₴₫]/, // Note: Р != P
currency: /[$£₤€₿₹¥¥₩Р₽₴₫]/, // Note: Р != P
reconciled: /[!*]/,
comment: { match: /[;#|][^\n]+/, value: (s:string) => s.slice(1).trim() },
assertion: {match: /==?\*?/},
account: { match: /[^$£₤€₿₹¥¥₩Р₽₴₫;#|\n\-]+/, value: (s:string) => s.trim() },
account: { match: /[^$£₤€₿₹¥¥₩Р₽₴₫;#|\n\-]+/, value: (s:string) => s.trim() },
},
alias: {
account: { match: /[a-zA-Z0-9: ]+/, value: (s:string) => s.trim() },
Expand Down

0 comments on commit 4bb3fc2

Please sign in to comment.