Skip to content

Commit

Permalink
allow 10-digit numbers in BE
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkovsky committed Apr 27, 2020
1 parent 996332c commit 8a9cc74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phone/be.ex
Expand Up @@ -3,7 +3,7 @@ defmodule Phone.BE do

use Helper.Country

def regex, do: ~r/^(32)()(.{9})/
def regex, do: ~r/^(32)()(.{8,9})/
def country, do: "Belgium"
def a2, do: "BE"
def a3, do: "BEL"
Expand Down

0 comments on commit 8a9cc74

Please sign in to comment.