[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: anon.penet.fi hacking




> >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