-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was bored, so I knocked together rules for every international dialing
code. They are first-pass, very rough but (with the exception of the USA
and Canada rules hitting some dodgy message-id's) have a 100% accuracy
rate against my corpus. They might make a useful building block for
others...

Note that this means they seem to hit where they should, so LOCAL_P_USA
should hit any USA number formed +1\d{4,10} (so will LOCAL_P_CANADA),
LOCAL_P_DOMINICAN_REPUBLIC should hit anything +1809\d{3,10} and so on...

The rules are a bit big to post to the list, so if anyone wants them,
they're at http://fukka.co.uk/sa-rules/local/phone_rules.cf

C.

- --
Craig McLean            http://fukka.co.uk
[EMAIL PROTECTED]       Where the fun never starts
        Powered by FreeBSD, and GIN!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDm5XQMDDagS2VwJ4RAiZBAKDOaLU8QycgP1QeKERsuO++KHkWdgCfTeXa
UG7A0PqRdl5mVxQOvXnqDeI=
=5SY6
-----END PGP SIGNATURE-----

Reply via email to