Re: Regular expressions that describe most (?) org syntax ?

2021-10-29 Thread Jean-Christophe Helary
> On Oct 30, 2021, at 14:18, Ihor Radchenko wrote: > > Jean-Christophe Helary writes: > >> I am looking for a set of regular expressions that roughly describe most of >> the important org syntax. > > You need to study org-element.el starting from > `org-element--current-element'. Thank you

Re: Regular expressions that describe most (?) org syntax ?

2021-10-29 Thread Ihor Radchenko
Jean-Christophe Helary 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,

Regular expressions that describe most (?) org syntax ?

2021-10-29 Thread Jean-Christophe Helary
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