1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(Info-menu-entry-name-re): Be careful to avoid multiple ways

to match the same text.  Allow : after : again.
This commit is contained in:
Stefan Monnier 2003-07-06 16:35:23 +00:00
parent ebb8d41053
commit 2760913103

View file

@ -1540,7 +1540,7 @@ FOOTNOTENAME may be an abbreviation of the reference name."
(setq i (+ i 1)))
(Info-goto-node target)))
(defconst Info-menu-entry-name-re "\\(?:[^:\n]+\\|:[^:,.;() \t\n]\\)*"
(defconst Info-menu-entry-name-re "\\(?:[^:\n]\\|:[^,.;() \t\n]\\)*"
"Regexp that matches a menu entry name upto but not including the colon.
Because of ambiguities, this should be concatenated with something like
`:' and `Info-following-node-name-re'.")