From eeb120f5e4c5e895a7ae647a9a5c5ea1fcb493d3 Mon Sep 17 00:00:00 2001 From: Alok Parlikar Date: Sun, 7 Dec 2014 21:42:31 -0500 Subject: ledger-regex: Indian Rupee Symbol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added the ₹ symbol to ledger-amount-regex --- lisp/ledger-regex.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/ledger-regex.el') diff --git a/lisp/ledger-regex.el b/lisp/ledger-regex.el index 91c715a3..1ff731fc 100644 --- a/lisp/ledger-regex.el +++ b/lisp/ledger-regex.el @@ -26,10 +26,10 @@ (defconst ledger-amount-regex (concat "\\( \\|\t\\| \t\\)[ \t]*-?" - "\\([A-Z$€£_(]+ *\\)?" + "\\([A-Z$€£₹_(]+ *\\)?" "\\(-?[0-9,\\.]+?\\)" "\\(.[0-9)]+\\)?" - "\\( *[[:word:]€£_\"]+\\)?" + "\\( *[[:word:]€£₹_\"]+\\)?" "\\([ \t]*[@={]@?[^\n;]+?\\)?" "\\([ \t]+;.+?\\|[ \t]*\\)?$")) -- cgit v1.2.3