Browse files

Tweak USA Area Codes since NPA codes can only begin with digits 2+.

  • Loading branch information...
1 parent 626b553 commit 9cb19806bcc948db5414344d8335c35dcd832da8 @mthespian mthespian committed Apr 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 areaprefix.js
View
2 areaprefix.js
@@ -14,7 +14,7 @@
var AREAPREFIX = {};
// USA
-AREAPREFIX['1'] = '([0-9][0-9][0-9])';
+AREAPREFIX['1'] = '([2-9][0-9][0-9])';
// Netherlands
AREAPREFIX['31'] = '(599|598|597|596|595|594|593|592|591|578|577|575|573|572|571|570|566|562|561|548|547|546|545|544|543|541|529|528|527|525|524|523|522|521|519|518|517|516|515|514|513|512|511|499|497|495|493|492|488|487|486|485|481|478|475|418|416|413|412|411|348|347|346|345|344|343|342|341|321|320|318|317|316|315|314|313|299|297|294|255|252|251|229|228|227|226|224|223|222|187|186|184|183|182|181|180|174|172|168|167|166|165|164|162|161|118|117|115|114|113|111|79|78|77|76|75|74|73|72|71|70|58|55|53|50|46|45|43|40|38|36|35|33|30|26|24|23|20|15|13|10)';

0 comments on commit 9cb1980

Please sign in to comment.