RE: [Clip] Bulk Sort Markup
- Hi Hugo,
Pow! Now, thanks to you, it does exactly what it's supposed to do, no more,
Thanks a bunch,
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf
Of Hugo Paulissen
Sent: Monday, April 02, 2007 1:24 PM
Subject: Re: [Clip] Bulk Sort Markup
The clip works if you select the lines that need to be sorted before
doing the final replace-operation.
Simple fix: ^!Select ALL before ^!Replace RegEx
Corl DeLuna wrote:
> I created this clip to sort a bunch of lines, then give each line a blank
> line under it so that I can then apply some HTML tags. It works great,
> almost. There is a small glitch where it apparently doesn't have the
> last line highlighted, and applies the final formatting in the middle ofthe
> line like this:IRHAS0
> ... vehicula vitae,</p><hr> lorem.
> instead of
> ... vehicula vitae, lorem.</p><hr>
> H="Bulk Sort Markup"
> ^!Menu Modify/Lines/Sort/Ascending
> ^!Replace "\n" >> "\n\n" IRHAS0
> ;begin long line
> ^!Replace "(?<=\r\n\r\n|\A)(.+)(?=(\r\n\r\n|\Z))" >> "<p>$1</p><hr>"
> ;end long line<http://www.fookes.com/maillist.htm> com/maillist.htm
> What can I do to correct this?
> [Non-text portions of this message have been removed]
> Fookes Software: http://www.fookes <http://www.fookes.com> com
> Fookes Software Mailing Lists: http://www.fookes
>[Non-text portions of this message have been removed]
> Yahoo! Groups Links