title: how to match element which starts with a prefix using element.matches?
body: <p>I have some html elements on the dom which have an id which starts with a prefix.
  e.g</p>
  <pre><code>&lt;div id=&quot;Prefix_START_31231231323&quot; style=&quot;display:none&quot;&gt;&lt;/div&gt;
  &lt;div &gt;some more stuff&lt;/div&gt;
  &lt;div id=&quot;Prefix_END_31231231323&quot; style=&quot;display:none&quot;&gt;&lt;/div&gt;
  </code></pre>
  <p>I need to match the Html elements whose id starts with</p>
  <blockquote>
  <p>Prefix_START or Prefix_END</p>
  </blockquote>
  <p>so that i can exclude them while processing.</p>
  <p>I tried using <code>element.matches('#^Prefix_START');</code>
  but this doesn't work.</p>
  <p>Is there a way to do this partial match ?</p>