Re: Regular expressions that describe most (?) org syntax ?
> 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 Ihor ! Jean-Christophe
Re: Regular expressions that describe most (?) org syntax ?
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, but I thought maybe there is already something > around… You need to study org-element.el starting from `org-element--current-element'. Best, Ihor
Regular expressions that describe most (?) org syntax ?
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… -- Jean-Christophe Helary @brandelune https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/