# HG changeset patch # User Kim F. Storm # Date 1057492024 0 # Node ID fbd12905244b22cfedea9d443ca8339e667ad663 # Parent 1accf7185baf26679295bd87e9e072aedd14d4f1 (Info-menu-entry-name-re): Add `:' to second [] part. This should fix the infinite loop when extracting menu names. diff -r 1accf7185baf -r fbd12905244b lisp/info.el --- 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'.")