title: Karate #regex; unable to validate partial matches
body: <p>I'm playing with Karate's <code>#regex</code> validation and running into an issue.</p>
  
  <p>When I have a file like this <code>pravda-text_field-OIQSNP</code>, I am only looking to match the <em>first</em> part of the string and hyphen, in this case <code>pravda-</code></p>
  
  <p>Here is what my attempt looks like:</p>
  
  <pre><code>And match each $.items contains { filename: \\Apravda- } 
  // I'm using double back-slashes for the escape char
  </code></pre>
  
  <p>When I run the test the assertion fails only saying "reason: regex match failed"</p>
  
  <p>What am I doing wrong with my validation?</p>