title: locate behavior with bash wildcards
body: <p>I have</p>
  
  <pre><code>$ ls -l re*trict
  ls: cannot access re*trict: No such file or directory
  </code></pre>
  
  <p>Why does this give 0 matches?</p>
  
  <pre><code>$ locate -c 're*trict'
  0
  $ locate -c re*trict
  0
  $ locate -c re?trict
  0
  </code></pre>
  
  <p>This works though and gives 8351 matches:</p>
  
  <pre><code>$ locate -c restrict
  8351
  </code></pre>