Jean-Christophe Helary <li...@traduction-libre.org> writes: > I am looking for a set of regular expressions that roughly describe most of > the important org syntax. > > A bit like > > @code\{[^\}]*\}|@command\{[^\}]*\} ... > > describes part of the texi code found in the Emacs manuals. > > I could figure something out, but I thought maybe there is already something > around…
You need to study org-element.el starting from `org-element--current-element'. Best, Ihor