浏览代码

Merge pull request #312 from mrpollo/patch-1

Fixed broacast typo in the uri validator
Phuoc Nguyen 11 年之前
父节点
当前提交
2a575cea4b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/js/validator/uri.js

+ 1 - 1
src/js/validator/uri.js

@@ -72,7 +72,7 @@
                 // IP address dotted notation octets
                 // excludes loopback network 0.0.0.0
                 // excludes reserved space >= 224.0.0.0
-                // excludes network & broacast addresses
+                // excludes network & broadcast addresses
                 // (first & last IP address of each class)
                 "(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])" +
                 "(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}" +