Skip to content

Commit

Permalink
Merge 1225e25 into 1fd3ff8
Browse files Browse the repository at this point in the history
  • Loading branch information
micate committed Feb 24, 2018
2 parents 1fd3ff8 + 1225e25 commit 544fdf4
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 @@ -10,7 +10,7 @@ const PATTERN = {
HEX: /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/i,
NUM: /^((-?\d+\.\d+)|(-?\d+)|(-?\.\d+))$/,
IDCARD: /(^\d{15}$)|(^\d{17}([0-9]|X)$)/i,
CNMOBILE: /^(0|86|17951)?(13[0-9]|15[012356789]|17[0678]|18[0-9]|14[57])[0-9]{8}$/
CNMOBILE: /^(0|86|17951)?(13[0-9]|14[5-9]|15[0-9]|16[124567]|17[0-8]|18[0-9]|19[0-9]|92[0-9]|98[0-9])[0-9]{8}$/,
};

Validator.isNotEmpty = (value) => {
Expand Down

0 comments on commit 544fdf4

Please sign in to comment.