mirror of
https://github.com/chillout2k/ldap-acl-milter.git
synced 2025-12-12 19:00:19 +00:00
6 lines
222 B
Python
6 lines
222 B
Python
import re
|
|
|
|
rex_domain = re.compile(r'^\S*@(\S+)$')
|
|
# http://emailregex.com/ -> Python
|
|
rex_email = re.compile(r"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)")
|
|
rex_srs = re.compile(r"^SRS0=.+=.+=(\S+)=(\S+)\@.+$") |