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

Lines Matching defs:regexp

145   "Apropos pattern passed through `regexp-quote'.")
153 (defvar apropos-regexp nil
156 (defvar apropos-all-words-regexp nil
278 (defun apropos-words-to-regexp (words wild)
279 "Make regexp matching any two of the words in WORDS."
292 "Read an apropos pattern, either a word list or a regexp.
294 literally, or a string which is used as a regexp to search for.
299 (read-string (concat "Apropos " subject " (word list or regexp): "))))
300 (if (string-equal (regexp-quote pattern) pattern)
306 "Rewrite a list of words to a regexp matching all permutations.
307 If PATTERN is a string, that means it is already a regexp.
309 `apropos-regexp', `apropos-words', and `apropos-all-words-regexp'."
313 ;; We don't actually make a regexp matching all permutations.
314 ;; Instead, for e.g. "a b c", we make a regexp matching
320 apropos-pattern-quoted (regexp-quote apropos-pattern))
333 (setq apropos-all-words-regexp
334 (apropos-words-to-regexp apropos-all-words ".+"))
335 (setq apropos-regexp
336 (apropos-words-to-regexp apropos-words ".*?")))
337 (setq apropos-pattern-quoted (regexp-quote pattern)
338 apropos-all-words-regexp pattern
340 apropos-regexp pattern)))
351 ;; Return list of start and end position of regexp
413 or a regexp (using some regexp special characters). If it is a word,
437 or a regexp (using some regexp special characters). If it is a word,
447 When called from a Lisp program, a string PATTERN is used as a regexp,
459 (apropos-internal apropos-regexp
513 or a regexp (using some regexp special characters). If it is a word,
525 (apropos-internal apropos-regexp
583 or a regexp (using some regexp special characters). If it is a word,
599 (or (memq symbol '(apropos-regexp
600 apropos-pattern apropos-all-words-regexp
628 or a regexp (using some regexp special characters). If it is a word,
684 (if (string-match apropos-regexp symbol)
696 (string-match apropos-all-words-regexp doc)
701 (string-match apropos-all-words-regexp doc))
712 (if (or (not compare) (string-match apropos-regexp p))
742 (re-search-forward apropos-all-words-regexp nil t))
763 (string-match apropos-all-words-regexp doc))
786 (re-search-forward apropos-all-words-regexp nil t))
817 (string-match apropos-all-words-regexp doc))