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

Header Data

From: Johan Helsingius <julf@penet.FI>
To: Eric Hughes <hughes@soda.berkeley.edu>
Message Hash: d10c3f25b970278bbc0f5bdb1d9a5f2baf89336c0218776247a8a8b836fdcc2f
Message ID: <9303011752.aa19512@penet.penet.FI>
Reply To: <9303011604.AA11556@soda.berkeley.edu>
UTC Datetime: 1993-03-01 16:48:11 UTC
Raw Date: Mon, 1 Mar 93 08:48:11 PST

Raw message

From: Johan Helsingius <julf@penet.FI>
Date: Mon, 1 Mar 93 08:48:11 PST
To: Eric Hughes <hughes@soda.berkeley.edu>
Subject: Re: anon.penet.fi hacking
In-Reply-To: <9303011604.AA11556@soda.berkeley.edu>
Message-ID: <9303011752.aa19512@penet.penet.FI>
MIME-Version: 1.0
Content-Type: text/plain



> >Ok... Now.. Show me the regex that strips anything starting with '--',
> >such as '-----------------------------', except a PGP boundary line...
> 
> OK.  It's a mess.  The backslash means line continuance.  Remember that
> concatenation binds higher that alternation (|).
> 
> ^--...([^B]|B[^E]|BE[^G]|BEG[^I]|BEGI[^N]|BEGIN[^ ]|BEGIN [^P]|BEGIN P[^G]\
> |BEGIN PG[^P])

Hats off to you, Eric! Much better than I could do! But... It still
doesn't strip off something starting with only "--" on a line by itself...

	Julf






Thread