Commit cf90703f authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(Info-menu-entry-name-re): Add `:' to second [] part.

This should fix the infinite loop when extracting menu names.
parent 05900291
......@@ -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'.")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment