【转载】http://www.w3cplus.com/html5/html5-form-validation-with-the-pattern-attribute.html 转载于:https://www.cnblogs.com/M-miao/p/9762236.html