title: How I could solve "Did not find four digit hex character" in Groovy?
body: <p>Im trying to do this command in groovy</p>
  
  <p>but appears this error "Did not find four digit hex character"</p>
  
  <pre><code>  varinif="0066";
   varfinf="0075";
     string.replaceAll(/\n((?!(;29#:[\u${varinif}-\u${varfinf}]&amp;)).)*(?=\n)/, '')
  </code></pre>
  
  <p>but when i do without variable works</p>
  
  <pre><code> string.replaceAll(/\n((?!(;29#:[\u0066-\u0075]&amp;)).)*(?=\n)/, '')
  </code></pre>
  
  <p>Please help me</p>