diff --git a/grammar/ledger.ne b/grammar/ledger.ne index ed05173..f280371 100644 --- a/grammar/ledger.ne +++ b/grammar/ledger.ne @@ -41,11 +41,11 @@ newline: { match: '\n', lineBreaks: true }, ws: /[ \t]+/, number: { match: /-?[0-9.,]+/, value: (s:string) => s.replace(/,/g, '') }, - 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() },