comparison lisp/man.el @ 50519:1f6682595898

(Man-heading-regexp): Accept hyphen.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Wed, 09 Apr 2003 12:16:31 +0000
parents 14e9fad0af6b
children c7575377858f
comparison
equal deleted inserted replaced
50518:3cb74de71bcd 50519:1f6682595898
254 "(\\(" Man-section-regexp "\\))\\)$") 254 "(\\(" Man-section-regexp "\\))\\)$")
255 (concat "^[ \t]*\\(" Man-name-regexp 255 (concat "^[ \t]*\\(" Man-name-regexp
256 "(\\(" Man-section-regexp "\\))\\).*\\1")) 256 "(\\(" Man-section-regexp "\\))\\).*\\1"))
257 "Regular expression describing the heading of a page.") 257 "Regular expression describing the heading of a page.")
258 258
259 (defvar Man-heading-regexp "^\\([A-Z][A-Z ]+\\)$" 259 (defvar Man-heading-regexp "^\\([A-Z][A-Z -]+\\)$"
260 "Regular expression describing a manpage heading entry.") 260 "Regular expression describing a manpage heading entry.")
261 261
262 (defvar Man-see-also-regexp "SEE ALSO" 262 (defvar Man-see-also-regexp "SEE ALSO"
263 "Regular expression for SEE ALSO heading (or your equivalent). 263 "Regular expression for SEE ALSO heading (or your equivalent).
264 This regexp should not start with a `^' character.") 264 This regexp should not start with a `^' character.")