summaryrefslogtreecommitdiff
path: root/lisp/ledger-regex.el
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-12-07 20:35:32 -0700
committerCraig Earls <enderw88@gmail.com>2014-12-07 20:35:32 -0700
commit9a857fc4fba1170642858b0e0059ec023eb08668 (patch)
treeb2c5824737aa83ed4932f4a01034cc746ceee561 /lisp/ledger-regex.el
parent2f0dcec10e0cd3f747f4db5155c534f79f1b13c1 (diff)
parenteeb120f5e4c5e895a7ae647a9a5c5ea1fcb493d3 (diff)
downloadfork-ledger-9a857fc4fba1170642858b0e0059ec023eb08668.tar.gz
fork-ledger-9a857fc4fba1170642858b0e0059ec023eb08668.tar.bz2
fork-ledger-9a857fc4fba1170642858b0e0059ec023eb08668.zip
Merge pull request #338 from happyalu/patch-1
ledger-regex: Indian Rupee Symbol Thank you!
Diffstat (limited to 'lisp/ledger-regex.el')
-rw-r--r--lisp/ledger-regex.el4
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]*\\)?$"))