Lines Matching defs:regexp
42 (defcustom outline-regexp nil
44 Any line whose beginning matches this regexp is considered to start a heading.
46 in the file it applies to. See also outline-heading-end-regexp."
47 :type '(choice regexp (const nil))
52 (or (default-value 'outline-regexp)
53 (setq-default outline-regexp "[*\^L]+"))
55 (defcustom outline-heading-end-regexp "[\n\^M]"
58 regexp is searched for. The heading ends at the end of the match.
61 :type 'regexp
200 The variable `outline-regexp' can be changed to control what is a heading.
201 A line is a heading if `outline-regexp' matches something at the
217 outline-regexp "\\)"))
219 (make-local-variable 'auto-fill-inhibit-regexp)
220 (setq auto-fill-inhibit-regexp outline-regexp)
223 outline-regexp "\\)"))
276 ;; tab handling, but the default regexp doesn't use tabs, and anyone
277 ;; who changes the regexp can also redefine the outline-level variable
282 the number of characters that `outline-regexp' matches."
284 (looking-at outline-regexp)
291 (if (re-search-forward (concat "[\n\^M]\\(" outline-regexp "\\)")
300 (if (re-search-forward (concat "[\n\^M]\\(" outline-regexp "\\)")
309 (re-search-backward (concat "^\\(" outline-regexp "\\)") nil t)
317 (looking-at outline-regexp))))
320 (if (re-search-forward outline-heading-end-regexp nil 'move)
327 `outline-regexp' matches)."
332 (or (re-search-forward (concat "^\\(" outline-regexp "\\)") nil t arg)
340 `outline-regexp' matches)."