Allow dots in label names
This commit is contained in:
parent
2079e6c4b3
commit
116d7305ee
1 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ an eye out for LABEL."
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(dispass-read-labels)
|
(dispass-read-labels)
|
||||||
(while (re-search-forward
|
(while (re-search-forward
|
||||||
"^\\(\\(?:\\sw\\|\\s_\\)+\\)"
|
"^\\(\\(?:\\sw\\|\\s_\\|\\.\\)+\\)"
|
||||||
nil t)
|
nil t)
|
||||||
(add-to-list 'result (match-string 1)))
|
(add-to-list 'result (match-string 1)))
|
||||||
result)))
|
result)))
|
||||||
|
@ -165,7 +165,7 @@ an eye out for LABEL."
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(dispass-read-labels)
|
(dispass-read-labels)
|
||||||
(while (re-search-forward
|
(while (re-search-forward
|
||||||
"^\\(\\(?:\\sw\\|\\s_\\)+\\) +\\([0-9]+\\) +\\(\\(?:\\sw\\|\\s_\\)+\\)"
|
"^\\(\\(?:\\sw\\|\\s_\\|\\.\\)+\\) +\\([0-9]+\\) +\\(\\(?:\\sw\\|\\s_\\)+\\)"
|
||||||
nil t)
|
nil t)
|
||||||
(let ((label (match-string 1))
|
(let ((label (match-string 1))
|
||||||
(length (match-string 2))
|
(length (match-string 2))
|
||||||
|
|
Loading…
Reference in a new issue