On Wednesday, November 22, 2017 at 5:09:21 AM UTC-6, Edward K. Ream wrote

Instead of contortions trying to specify \1, the declutter mechanism should 
> support this:
>
> RULE :([\w_@]+:)+\s*$
> REPLACE-HEAD
>
> This tells the declutter code to replace the headline by the text *preceding 
> *the matched text.  Similarly:
>
> - REPLACE-TAIL replaces the headline by the text that *follows* the 
> matched text.
>
> - REPLACE-REST replaces the headline by everything *except* the matched 
> text.
>

Done at f5bca85.  *This is highly experimental code*, despite looking 
straightforward.

Please report any problems immediately.

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