spf-discuss
[Top] [All Lists]

Re: A regular expression that matches SPF records

2005-06-27 23:14:36
In 
<Pine(_dot_)LNX(_dot_)4(_dot_)62(_dot_)0506272307040(_dot_)5725(_at_)sokol(_dot_)elan(_dot_)net>
 "william(at)elan.net" <william(_at_)elan(_dot_)net> writes:

On Tue, 28 Jun 2005, wayne wrote:

Today, I finally got around to doing something that has been on my
TODO list for about 6 months.  I took the ABNF out of the SPF spec and
converted into a regular expression.  So, I now have a regular
expression that matches valid SPF records and rejects invalid ones.

What utility did you use to create regex out of ABNF?

As per the http://www.schlitt.net/spf/tests/ webpage:

http://cvs.m17n.org/~akr/abnf/


-wayne