changeset 51756:fbd12905244b

(Info-menu-entry-name-re): Add `:' to second [] part. This should fix the infinite loop when extracting menu names.
author Kim F. Storm <storm@cua.dk>
date Sun, 06 Jul 2003 11:47:04 +0000
parents 1accf7185baf
children e4e794926085
files lisp/info.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Sun Jul 06 11:46:47 2003 +0000
+++ b/lisp/info.el	Sun Jul 06 11:47:04 2003 +0000
@@ -1540,7 +1540,7 @@
       (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'.")