Variable: embark--advice-regexp

embark--advice-regexp is a variable defined in embark.el.

Value

"\\`\\(?:\\(?:This function has \\)?\\(?::\\(?:a\\(?:fter\\(?:-\\(?:until\\|while\\)\\)?\\|round\\)\\|before\\(?:-\\(?:until\\|while\\)\\)?\\|filter-\\(?:args\\|return\\)\\|override\\)\\) advice: .*\n\\)+\n"

Documentation

Regexp to match lines about advice in function documentation strings.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
;; Taken from Marginalia, needed by the verbose indicator.
;; We cannot use the completion annotators in this case.
(defconst embark--advice-regexp
  (rx bos
      (1+ (seq (? "This function has ")
               (or ":before" ":after" ":around" ":override"
                   ":before-while" ":before-until" ":after-while"
                   ":after-until" ":filter-args" ":filter-return")
               " advice: " (0+ nonl) "\n"))
      "\n")
  "Regexp to match lines about advice in function documentation strings.")