title: prometheus doesn't match regex query
body: <p>I'm trying to write a prometheus query in grafana that will select <code>visits_total{route!~"/api/docs/*"}</code></p>
  
  <p>What I'm trying to say is that it should select all the instances where the route doesn't match <code>/api/docs/*</code> (regex) but this isn't working. It's actually just selecting all the instances. I tried to force it to select others by doing this:
  <code>visits_total{route=~"/api/order/*"}</code>  but it doesn't return anything. I found these operators in the querying basics <a href="https://prometheus.io/docs/prometheus/latest/querying/basics/" rel="noreferrer">page</a> of prometheus. What am I doing wrong here?</p>