diff options
author | Alok Parlikar <happyalu@yahoo.com> | 2014-12-07 21:42:31 -0500 |
---|---|---|
committer | Alok Parlikar <happyalu@yahoo.com> | 2014-12-07 21:42:31 -0500 |
commit | eeb120f5e4c5e895a7ae647a9a5c5ea1fcb493d3 (patch) | |
tree | b2c5824737aa83ed4932f4a01034cc746ceee561 | |
parent | 2f0dcec10e0cd3f747f4db5155c534f79f1b13c1 (diff) | |
download | fork-ledger-eeb120f5e4c5e895a7ae647a9a5c5ea1fcb493d3.tar.gz fork-ledger-eeb120f5e4c5e895a7ae647a9a5c5ea1fcb493d3.tar.bz2 fork-ledger-eeb120f5e4c5e895a7ae647a9a5c5ea1fcb493d3.zip |
ledger-regex: Indian Rupee Symbol
Added the ₹ symbol to ledger-amount-regex
-rw-r--r-- | lisp/ledger-regex.el | 4 |
1 files changed, 2 insertions, 2 deletions
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]*\\)?$")) |