Re: RegEx Template Help: Pruning/Deleting Duplicate Newlines

2003-02-19 Thread Allie Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In <[EMAIL PROTECTED]">mid:[EMAIL PROTECTED]>,
Mike Dillinger [MD] wrote:'

MD> I'm trying to make a regex template to get rid of duplicate newlines.
MD> So far, this is what I have (and I know it's very wrong):

MD> =[ RemoveDupNewlines ]=
MD> %QUOTES='%SETPATTREGEXP="(?m)%-
MD> ((\n){2})"%-
MD> %REGEXPBLINDMATCH="%text"%SUBPATT="1"'

MD> Can anyone help me out?  I may not even be close.  Right now, it's not
MD> doing anything.

You should take this question to TBTECH. TBTECH was created to
discuss these technical issues and also, the regex experts are
subscribed there and may not be subscribed to TBUDL.

- --
  -=] allie_M [=-  {List Moderator}
   -
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2rc1 (Win32)
Comment: My Public Keys - http://www.ac-martin.com/pgpkeys.html

iD8DBQE+VCvYV8nrYCsHF+IRAqGzAJ9wftyRTuOsxw1c1gTGxSYTx9uWpgCfe1Uo
S5Y6XzmTzD7m/qUwTCyDRLc=
=Y0bJ
-END PGP SIGNATURE-



Current version is 1.62 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html



RegEx Template Help: Pruning/Deleting Duplicate Newlines

2003-02-19 Thread Mike Dillinger
Hello,

I'm using The Bat! v1.62i on Windows 2000 SP3 Build 2195.

I'm trying to make a regex template to get rid of duplicate newlines.
So far, this is what I have (and I know it's very wrong):

=[ RemoveDupNewlines ]=
%QUOTES='%SETPATTREGEXP="(?m)%-
((\n){2})"%-
%REGEXPBLINDMATCH="%text"%SUBPATT="1"'

Can anyone help me out?  I may not even be close.  Right now, it's not
doing anything.

Thank you!
-MikeD



Current version is 1.62 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html