Skip to content

Commit

Permalink
+ explicit short ndcs
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed May 2, 2011
1 parent 0303a88 commit 260c040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/phony/countries/belgium.rb
Expand Up @@ -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)
Expand Down Expand Up @@ -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

0 comments on commit 260c040

Please sign in to comment.