[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 770db45d: Allow even one non-regular character befo
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] master 770db45d: Allow even one non-regular character before the implicit tag name |
Date: |
Sun, 06 Sep 2015 22:46:34 +0000 |
branch: master
commit 770db45d6769134aa3a853e2ff38089a1e8a3327
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Allow even one non-regular character before the implicit tag name
* lisp/progmodes/etags.el (etags-tags-completion-table):
Allow even one non-regular character before the implicit tag name.
Reported at http://emacs.stackexchange.com/questions/15269/.
---
lisp/progmodes/etags.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index d38a7cd..83ee2a4 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1268,7 +1268,7 @@ buffer-local values of tags table format variables."
;; \6 is the line to start searching at;
;; \7 is the char to start searching at.
(while (re-search-forward
- "^\\(\\([^\177]+[^-a-zA-Z0-9_+*$:\177]+\\)?\
+ "^\\(\\([^\177]*[^-a-zA-Z0-9_+*$:\177]+\\)?\
\\([-a-zA-Z0-9_+*$?:]+\\)[^-a-zA-Z0-9_+*$?:\177]*\\)\177\
\\(\\([^\n\001]+\\)\001\\)?\\([0-9]+\\)?,\\([0-9]+\\)?\n"
nil t)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 770db45d: Allow even one non-regular character before the implicit tag name,
Dmitry Gutov <=