Variable: yaml-directive-re
yaml-directive-re is a variable defined in yaml-mode.el.
Value
"^\\(?:--- \\)? *%\\(\\w+\\)"
Documentation
Regexp matching a line containing a YAML directive.
Source Code
;; Defined in /nix/store/fxfawcfn8g3mqnf4q0lmvgvy0vp3nxrx-emacs-packages-deps/share/emacs/site-lisp/elpa/yaml-mode-20260830.2340/yaml-mode.el
(defconst yaml-directive-re "^\\(?:--- \\)? *%\\(\\w+\\)"
"Regexp matching a line containing a YAML directive.")