On Wednesday, November 22, 2017 at 4:05:25 AM UTC-6, Edward K. Ream wrote:

> This thread...[focuses] exclusively on the declutter regex.

I should add that the org-mode importer regex is much simpler, because the 
code only needs to recognize the trailing tags themselves, not the head. 
Indeed, the code finds tags using:

tag_pattern = re.compile(r':([\w_@]+:)+\s*$')

This completely avoids the problem of specifying what *doesn't* match. For 
details, see the org_i.clean_headline method. But for decluttering, we have 
to know what *precedes* the tags.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to