title: How to replace special characters as "{" in xquery?
body: <p>I'm trying to remove '}{' by '},{' in xquery:</p>
  
  <pre><code>fn:replace($text,'\\}\\{','\\},\\{')
  </code></pre>
  
  <p>and getting an error:</p>
  
  <pre><code>org.apache.xmlbeans.impl.regex.ParseException: Unexpected meta character
  </code></pre>