[REBOL] Rebol Enhancement Proposal - Telephone numbers
From: al::bri::xtra::co::nz at: 20-Apr-2001 20:25
How about adding the telephone number to Rebol? For example:
Telephone: +64-6-8354110
>> type? Telephone
== telephone!
It would behave a lot like the issue! datatype, but have telephone!
datatype. Refinements could include:
>> Telephone/International
== +64
>> Telephone/National
== 6
>> Telephone/Local
== 8354110
The rebol parser rule could be:
"+" some Digit "-" some Digit "-" some Digit
The only trouble I have at the moment is determining if is this pattern
would be suitable for other countries. While this works for NZ, it might not
work for other nations. Any one know if this wouldn't work for them?
Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/