Skip to content

Commit

Permalink
Merge pull request #128 from davekapp/additional_vancouver_npa
Browse files Browse the repository at this point in the history
Add in additional NPA for Vancouver
  • Loading branch information
fcevado committed Mar 12, 2020
2 parents 3a03186 + 7bcd9cb commit 996332c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/phone/nanp/ca/bc.ex
Expand Up @@ -3,10 +3,10 @@ defmodule Phone.NANP.CA.BC do

use Helper.Area

def regex, do: ~r/^(1)(604|778|236|250)([2-9].{6})$/
def regex, do: ~r/^(1)(604|778|236|250|672)([2-9].{6})$/
def area_name, do: "British Columbia"
def area_type, do: "province"
def area_abbreviation, do: "BC"

matcher(["1604", "1778", "1236", "1250"])
matcher(["1604", "1778", "1236", "1250", "1672"])
end

0 comments on commit 996332c

Please sign in to comment.