title: How do I write a Kusto query that uses a regex to filter on a where clause
body: <p>In Azure Log Analytics I'm trying to use Kusto to query requests with a where condition that uses a regex.  The query I'm trying is</p>
  
  <pre><code>requests
  | where customDimensions.["API Name"] matches regex "\w*-v\d*"
  </code></pre>
  
  <p>but this returns a syntax error.  The example given in the documentation <a href="https://docs.microsoft.com/en-us/azure/kusto/query/datatypes-string-operators" rel="noreferrer">here</a> is limited but implies that this syntax should work.  A simpler version of the above does work</p>
  
  <pre><code>requests
  | where customDimensions.["API Name"] matches regex ".*-v.*"
  </code></pre>
  
  <p>What is the correct syntax for <code>where &lt;predicate&gt; matches regex</code> in Kusto?</p>