title: What is the match group syntax in Eclipse's search and replace
body: <p>What's the syntax to perform a search/replace on Eclipse and use "match groups" (is that what it's called?)</p>
  
  <p>On vi I do the following:</p>
  
  <pre><code>%s/log\(.*\)/log \1 debug/g 
  </code></pre>
  
  <p>And lines like this one:</p>
  
  <pre><code>log "Message" 
  </code></pre>
  
  <p>are replaced with:</p>
  
  <pre><code>log "Message" debug
  </code></pre>
  
  <p>What's the correct syntax for eclipse in the search/replace dialog box (beside checking up "Regular expressions")</p>
  
  <p>Thanks. </p>