aboutsummaryrefslogtreecommitdiffstats
path: root/dispass.el
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-02-16 10:48:01 +0100
committerGravatar Tom Willemsen2013-02-16 10:48:01 +0100
commit116d7305eee1b17759a52c1d5fb87cae85befe99 (patch)
treea2621e65aaec2fbcd6c6aea815f019b75bed40a9 /dispass.el
parent2079e6c4b340cea55d8b9254bca54cf3ce486d7c (diff)
downloaddispass.el-116d7305eee1b17759a52c1d5fb87cae85befe99.tar.gz
dispass.el-116d7305eee1b17759a52c1d5fb87cae85befe99.zip
Allow dots in label names
Diffstat (limited to 'dispass.el')
-rw-r--r--dispass.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/dispass.el b/dispass.el
index cd30098..cb29056 100644
--- a/dispass.el
+++ b/dispass.el
@@ -154,7 +154,7 @@ an eye out for LABEL."
(with-temp-buffer
(dispass-read-labels)
(while (re-search-forward
- "^\\(\\(?:\\sw\\|\\s_\\)+\\)"
+ "^\\(\\(?:\\sw\\|\\s_\\|\\.\\)+\\)"
nil t)
(add-to-list 'result (match-string 1)))
result)))
@@ -165,7 +165,7 @@ an eye out for LABEL."
(with-temp-buffer
(dispass-read-labels)
(while (re-search-forward
- "^\\(\\(?:\\sw\\|\\s_\\)+\\) +\\([0-9]+\\) +\\(\\(?:\\sw\\|\\s_\\)+\\)"
+ "^\\(\\(?:\\sw\\|\\s_\\|\\.\\)+\\) +\\([0-9]+\\) +\\(\\(?:\\sw\\|\\s_\\)+\\)"
nil t)
(let ((label (match-string 1))
(length (match-string 2))