Lines Matching defs:patterns
891 (defun flymake-reformat-err-line-patterns-from-compile-el (original-list)
892 "Grab error line patterns from ORIGINAL-LIST in compile.el format.
911 (defvar flymake-err-line-patterns ; regexp file-idx line-idx col-idx (optional) text-idx(optional), match-end to end of string is error text
933 (flymake-reformat-err-line-patterns-from-compile-el compilation-error-regexp-alist-alist))
936 Use `flymake-reformat-err-line-patterns-from-compile-el' to add patterns
939 ;;(defcustom flymake-err-line-patterns
947 ;; "patterns for matching error/warning lines, (regexp file-idx line-idx err-text-idx)"
959 (patterns flymake-err-line-patterns)
961 (while (and patterns (not matched))
962 (when (string-match (car (car patterns)) line)
963 (let* ((file-idx (nth 1 (car patterns)))
964 (line-idx (nth 2 (car patterns))))
968 (setq err-text (if (> (length (car patterns)) 4)
969 (match-string (nth 4 (car patterns)) line)
978 (setq patterns (cdr patterns)))