const url = {
  _regex: {
    default: /^(?:https?:\/\/)?[^\s\/\.]+(?:\.[a-z]{2,})+(?:\/\S*)?$/i
  },
  default: context => {
    if (context.value === null || context.value && !context.value.toString().match(url._regex.default)) {
      context.fail('Value must be a valid URL')
    }
  }
}

export default url

@@ -69,16 +69,19 @@
 ?:%5C.%5Ba-z
+0-9
 %5D%7B2,%7D)+(

Fix regex to allow numbers in domains