title: Regex matching for nock tests failing
body: <p>I am trying to match URLs.</p>
  
  <pre><code>lab.before(async () =&gt; {
    nock('https://dev.azure.com')
      .get(centosAzureUri)
      .times(5)
      .reply(201, [
      ...
  </code></pre>
  
  <p>If I use a string, it is working just fine. An example is below:
  <code>
  const centosAzureUri = `/${conf.org}/${conf.buildProject}/_apis/build/builds?api-version=4.1&amp;branchName=${conf.buildBranch}`
  </code></p>
  
  <p>However, I want to use a RegEx as below:
  <code>
  const centosAzureUri = new RegExp(`/${conf.org}/${conf.buildProject}/_apis/build/builds?api-version=4.1.*`, 'g')
  </code>
  That is not working. </p>
  
  <p>According to the documentation, <code>nock</code> should accept regular expressions and <code>.*</code> should match any symbol [because of the .] and allow those matched characters to be repeated any number of times. Hence, I am assuming this should accept any string ending, including <code>&amp;branchName=${conf.buildBranch}</code>.</p>
  
  <p>What I am doing wrong?</p>