Regular Expressions and RFC 822
alex gigh
cogs2002 at hotmail.com
Sun May 19 17:04:29 EDT 2002
Hi;
I am trying to write a mail server in Python and I found out that I can use
regular expressions and then grouping:
"For example, an RFC-822 header line is divided into a header name and a
value, separated by a ":". This can be handled by writing a regular
expression which matches an entire header line, and has one group which
matches the header name, and another group which matches the header's value.
"
Can someone help me by showing me an example of how I could do this...
Many Thanks
Alex
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
More information about the Python-list
mailing list