Skip to content

Commit

Permalink
Merge pull request #104 from gabrieltaylor/gtr/add-833-toll-free
Browse files Browse the repository at this point in the history
Add support for 833 toll free numbers
  • Loading branch information
fcevado committed Jun 16, 2017
2 parents 63c347a + b0a91f6 commit 2ae80cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/phone/nanp/toll_free.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ defmodule Phone.NANP.TollFree do

use Helper.Country

def regex, do: ~r/^(1)(800|844|855|866|877|888)([2-9].{6})$/
def regex, do: ~r/^(1)(800|833|844|855|866|877|888)([2-9].{6})$/
def country, do: "NANP tool-free"
def a2, do: ""
def a3, do: ""

matcher :regex, ["1800", "1844", "1855", "1866", "1877", "1888"]
matcher :regex, ["1800", "1833", "1844", "1855", "1866", "1877", "1888"]
end

0 comments on commit 2ae80cf

Please sign in to comment.