MACSCRPT Archives

June 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Timothy Bates <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 7 Jun 2006 20:37:57 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (8 lines)
change "\\n+" into "\\n" in z regexpflag {"EXTENDED"} with regexp

On 07/06/2006, at 7:10 PM, Joe Barwell wrote:
> I've been wrestling with a very basic regex problem, using Satimage
> osax, os 10.3.9. Basically, I want to strip multiple blank lines
> (i.e. carriage-returns), but leave the remaining text and single
> carriage-returns, e.g. the data may look like this:

ATOM RSS1 RSS2