MACSCRPT Archives

June 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Mime-Version:
1.0 (Apple Message framework v750)
Content-Type:
text/plain; charset=US-ASCII; format=flowed
Date:
Wed, 7 Jun 2006 20:37:57 +1000
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Timothy Bates <[log in to unmask]>
In-Reply-To:
<l03130302c0ac3daf2518@[203.109.182.1]>
Content-Transfer-Encoding:
7bit
Sender:
Macintosh Scripting Systems <[log in to unmask]>
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