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
|
||||
(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))
|
||||
|
|
Loading…
Reference in a new issue