Skip to content

Commit

Permalink
#6 手机号验证增加173号段
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 21, 2017
1 parent 76e6805 commit f9e1c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var regexs = {
* 18段:180、181、182、183、184、185、186、187、188、189
* 国际码 如:中国(+86)
*/
phone:/^((\+?[0-9]{1,4})|(\(\+86\)))?(13[0-9]|14[57]|15[012356789]|17[0678]|18[0-9])\d{8}$/,
phone:/^((\+?[0-9]{1,4})|(\(\+86\)))?(13[0-9]|14[57]|15[012356789]|17[03678]|18[0-9])\d{8}$/,
/**
* @descrition 匹配 URL
*/
Expand Down

0 comments on commit f9e1c68

Please sign in to comment.