Skip to content

Commit

Permalink
adjust: mobile number in china comsuming very quick, it is not vise t…
Browse files Browse the repository at this point in the history
…o limit the last 8 number
  • Loading branch information
sunfuze committed Apr 9, 2016
1 parent 449bbbf commit c1fcbb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/isMobilePhone.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const phones = {
'ru-RU': /^(\+?7|8)?9\d{9}$/,
'tr-TR': /^(\+?90|0)?5\d{9}$/,
'vi-VN': /^(\+?84|0)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/,
'zh-CN': /^(\+?0?86\-?)?((13\d|14[57]|15[^4,\D]|17[678]|18\d)\d{8}|170[059]\d{7})$/,
'zh-CN': /^(\+?0?86\-?)?1[345789]\d{9}$/,
'zh-TW': /^(\+?886\-?|0)?9\d{8}$/,
};
/* eslint-enable max-len */
Expand Down

0 comments on commit c1fcbb6

Please sign in to comment.