Function: eca-table--separator-row-p
eca-table--separator-row-p is a natively compiled function defined in
eca-table.el.
Signature
(eca-table--separator-row-p LINE)
Documentation
Return non-nil if LINE is a markdown table separator row.
Each cell must match the separator grammar: optional colons around one or more dashes (e.g. ---, :---, ---:, :---:).
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-table.el
(defun eca-table--separator-row-p (line)
"Return non-nil if LINE is a markdown table separator row.
Each cell must match the separator grammar: optional colons
around one or more dashes (e.g. ---, :---, ---:, :---:)."
(when (string-match-p "^[ \t]*|" line)
(let ((cells (split-string
(replace-regexp-in-string
"^[ \t]*|\\||[ \t]*$" "" line)
"|" t)))
(and cells
(cl-every (lambda (cell)
(string-match-p
"^[ \t]*:?--+:?[ \t]*$"
cell))
cells)))))