title: RegEx backreferences in IntelliJ
body: <p>I want to use IntelliJ's find-and-replace feature to perform the following transformation:</p>
  
  <pre><code>// Replace this
  model.put('foo', 'bar')
  // With this
  model['foo'] = bar
  </code></pre>
  
  <p>I've tried the following:</p>
  
  <p>Text to find: <code>model.put\((.*),(.*)\)</code>
  Replace with: <code>model\[\\1\] = \\2</code></p>
  
  <p>But Intellij doesn't seem to recognise <code>\\1</code> and <code>\\2</code> as backreferences. I've also tried a single slash, but that doesn't work either.</p>