Regular Expressions 101

Library entries

PostfixParser

Vote

0

Regular Expression
python

"
to=<(?P<email>\S+)>,\srelay=(?!10\.10\.10\.)(?P<relay>\S+),.+dsn=(?P<dsn>\d+\.\d+\.\d+),\sstatus=(?!sent)(?P<status>\w)\w+\s\((?:host\s\S+\[\S+\]\ssaid:\s)?(?P<code>\d{3})?
"
g

Description

Loading markdown...
Submitted by anonymous - 5 years ago