title: Why the regular expression of the URL rule for the Vutify form validation with port number get error?
body: <p>The following URL rule without port number is working well.</p>
  
  <pre><code>export default {
    data: () =&gt; ({
      valid: true,
      url: '',
      urlRules: [
        v =&gt; !!v || 'URL is required',
        v =&gt; (v &amp;&amp; v.length &lt;= 256) || 'URL must be less than 256 characters',
        v =&gt; /https?:\/\/[\w!?/\+\-_~=;\.,*&amp;@#$%\(\)\'\[\]]+/.test(v) || 'URL must be valid',
      ],
    }),
    components: {
    },
  }
  </code></pre>
  
  <p>Then, I've put <code>[0-9]*</code> rule for port number part of the URL as follows.</p>
  
  <pre><code>export default {
    data: () =&gt; ({
      valid: true,
      url: '',
      urlRules: [
        v =&gt; !!v || 'URL is required',
        v =&gt; (v &amp;&amp; v.length &lt;= 256) || 'URL must be less than 256 characters',
        v =&gt; /https?:[0-9]*\/\/[\w!?/\+\-_~=;\.,*&amp;@#$%\(\)\'\[\]]+/.test(v) || 'URL must be valid',
      ],
    }),
    components: {
    },
  }
  </code></pre>
  
  <p>But this occurs following error:</p>
  
  <pre><code>  34:36  error  Unnecessary escape character: \+  no-useless-escape
    34:44  error  Unnecessary escape character: \.  no-useless-escape
    34:53  error  Unnecessary escape character: \(  no-useless-escape
    34:55  error  Unnecessary escape character: \)  no-useless-escape
    34:57  error  Unnecessary escape character: \'  no-useless-escape
    34:59  error  Unnecessary escape character: \[  no-useless-escape
  
  ✖ 6 problems (6 errors, 0 warnings)
  </code></pre>
  
  <p>I have no idea why the additional port number part breaks the regular expression. Thank you for your suggestion!</p>