Samuel Wales <samolog...@gmail.com> writes:

> some code removes it.  for example creating a link to a headline using 
> capture.

Yeah. org-link--normalize-string. But it is internal function, so I would
not rely on it.

Also, rather than relying on regexps, I would use
org-element-headline-parser, extract parsed :title property, and filter
out statistics-cookie objects.

Best,
Ihor

Reply via email to