var httpsRule = (rule, value, callback) => {
var reg = /http[s]{0,1}:\/\/([\w.]+\/?)\S*/;
if (value !== '' && !reg.test(value)) {
console.log(value,'value')
callback(new Error('XXXXSADX'))
} else if (value.length > 15) {
callback(new Error('ASDASDASD'))
} else {
callback()
}
};