From 260c04066277982f8ac223df5ec19ad08582796b Mon Sep 17 00:00:00 2001 From: Florian Hanke Date: Tue, 3 May 2011 08:22:44 +1000 Subject: [PATCH] + explicit short ndcs --- lib/phony/countries/belgium.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/phony/countries/belgium.rb b/lib/phony/countries/belgium.rb index 6b4c3c36..ef7422f0 100644 --- a/lib/phony/countries/belgium.rb +++ b/lib/phony/countries/belgium.rb @@ -2,7 +2,7 @@ # # Taken from: http://en.wikipedia.org/wiki/Telephone_numbers_in_Belgium # -ndcs = [ +short_ndcs = [ '2', # Brussels (Bruxelles/Brussel) '3', # Antwerpen (Antwerp), Sint-Niklaas '4', # Liège (Luik), Voeren (Fourons) @@ -30,6 +30,6 @@ Phony.define do country '32', one_of(service) >> split(3,3) | match(mobile_regex) >> split(6) | - one_of(ndcs) >> split(3,5) | + one_of(short_ndcs) >> split(3,5) | fixed(2) >> split(3,5) end \ No newline at end of file