• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/

Lines Matching defs:regexp

263 (defvar Man-name-regexp "[-a-zA-Z0-9_�+][-a-zA-Z0-9_.:�+]*"
266 (defvar Man-section-regexp "[0-9][a-zA-Z0-9+]*\\|[LNln]"
269 (defvar Man-page-header-regexp
272 (concat "^[-A-Za-z0-9_].*[ \t]\\(" Man-name-regexp
273 "(\\(" Man-section-regexp "\\))\\)$")
274 (concat "^[ \t]*\\(" Man-name-regexp
275 "(\\(" Man-section-regexp "\\))\\).*\\1"))
278 (defvar Man-heading-regexp "^\\([A-Z][A-Z /-]+\\)$"
281 (defvar Man-see-also-regexp "SEE ALSO"
283 This regexp should not start with a `^' character.")
285 (defvar Man-first-heading-regexp "^[ \t]*NAME$\\|^[ \t]*No manual entry fo.*$"
289 (defvar Man-reference-regexp
290 (concat "\\(" Man-name-regexp "\\)[ \t]*(\\(" Man-section-regexp "\\))")
293 (defvar Man-apropos-regexp
294 (concat "\\\[\\(" Man-name-regexp "\\)\\\][ \t]*(\\(" Man-section-regexp "\\))")
297 (defvar Man-synopsis-regexp "SYNOPSIS"
299 This regexp should not start with a `^' character.")
301 (defvar Man-files-regexp "FILES"
303 This regexp should not start with a `^' character.")
305 (defvar Man-include-regexp "#[ \t]*include[ \t]*"
308 (defvar Man-file-name-regexp "[^<>\", \t\n]+"
311 (defvar Man-normal-file-prefix-regexp "[/~$]"
314 (defvar Man-header-regexp
315 (concat "\\(" Man-include-regexp "\\)"
317 "\\(" Man-file-name-regexp "\\)"
321 (defvar Man-normal-file-regexp
322 (concat Man-normal-file-prefix-regexp Man-file-name-regexp)
327 (defvar Man-hyphenated-reference-regexp
328 (concat "\\(" Man-name-regexp "\\)\\((\\(" Man-section-regexp "\\))\\)?")
577 (setq string (replace-regexp-in-string "[\t\r\n]" " " string))
578 (setq string (replace-regexp-in-string " +" " " string))
592 ((string-match (concat "^" Man-reference-regexp "$") ref)
596 ((string-match (concat "^\\(" Man-section-regexp
597 "\\) +\\(" Man-name-regexp "\\)$") ref)
675 (concat "[ \t]*([ \t]*\\(" Man-section-regexp "\\)[ \t]*)"))
938 (while (re-search-forward Man-heading-regexp nil t)
957 (Man-highlight-references0 nil Man-reference-regexp 1
960 (Man-highlight-references0 nil Man-apropos-regexp 1
963 (Man-highlight-references0 Man-see-also-regexp Man-reference-regexp 1
966 (Man-highlight-references0 Man-synopsis-regexp Man-header-regexp 0 2
968 (Man-highlight-references0 Man-files-regexp Man-normal-file-regexp 0 0
971 (defun Man-highlight-references0 (start-section regexp button-pos target type)
984 (while (re-search-forward regexp end t)
1124 `Man-section-regexp' Regexp describing manpage section letters.
1125 `Man-heading-regexp' Regexp describing section headers.
1126 `Man-see-also-regexp' Regexp for SEE ALSO section (or your equiv).
1127 `Man-first-heading-regexp' Regexp for first heading on a manpage.
1128 `Man-reference-regexp' Regexp matching a references in SEE ALSO.
1147 (setq imenu-generic-expression (list (list nil Man-heading-regexp 0)))
1148 (set (make-local-variable 'outline-regexp) Man-heading-regexp)
1161 (while (re-search-forward Man-heading-regexp (point-max) t)
1169 (if (Man-find-section Man-see-also-regexp)
1182 (if (re-search-forward Man-hyphenated-reference-regexp end t)
1193 (if (string-match Man-reference-regexp word)
1208 (if (looking-at Man-page-header-regexp)
1211 ;; Go past both the current and the next Man-first-heading-regexp
1212 (if (re-search-forward Man-first-heading-regexp nil 'move 2)
1220 (if (re-search-forward Man-page-header-regexp p 'move)
1241 (re-search-forward Man-first-heading-regexp nil t)
1269 (if (not (re-search-forward Man-first-heading-regexp nil t))
1302 (if (looking-at Man-heading-regexp)
1304 (if (re-search-forward Man-heading-regexp (point-max) t n)
1312 (if (looking-at Man-heading-regexp)
1314 (if (re-search-backward Man-heading-regexp (point-min) t n)
1347 Actually the section moved to is described by `Man-see-also-regexp'."
1349 (if (not (Man-find-section Man-see-also-regexp))
1350 (error (concat "No " Man-see-also-regexp