1993-03-01 - anon.penet.fi hacking

Header Data

From: Eric Hughes <hughes@soda.berkeley.edu>
To: julf@penet.FI
Message Hash: fc64966385d34ac81a21ef35e130cb532e6fc9dcca00e0414af138a8f8992515
Message ID: <9303011742.AA15188@soda.berkeley.edu>
Reply To: <9303011752.aa19512@penet.penet.FI>
UTC Datetime: 1993-03-01 17:45:32 UTC
Raw Date: Mon, 1 Mar 93 09:45:32 PST

Raw message

From: Eric Hughes <hughes@soda.berkeley.edu>
Date: Mon, 1 Mar 93 09:45:32 PST
To: julf@penet.FI
Subject: anon.penet.fi hacking
In-Reply-To: <9303011752.aa19512@penet.penet.FI>
Message-ID: <9303011742.AA15188@soda.berkeley.edu>
MIME-Version: 1.0
Content-Type: text/plain

Julf challenged:
>Ok... Now.. Show me the regex that strips anything starting with '--',
>such as '-----------------------------', except a PGP boundary line...

I posted something which didn't quite work, as Julf says:

>But... It still
>doesn't strip off something starting with only "--" on a line by itself...

^--(|.|..|...(|[^B]|B[^E]|BE[^G]|BEG[^I]|BEGI[^N]|BEGIN[^ ]|BEGIN [^P]\

Some implementations don't support empty alternation, so that could be
changed with the ? syntax, since (|a) and (a?) are the same.

That should do it.