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

anon.penet.fi hacking




>> 	Body-Termination-Regex: ^--$

Julf writes:

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

Eric