title: Non-greedy Oracle SQL regexp_replace
body: <p>I'm having some issues dealing with the non-greedy regex operator in Oracle.</p>
  
  <p>This seems to work:</p>
  
  <pre><code>select regexp_replace('abcc', '^ab.*?c', 'Z') from dual;
  -- output: Zc (does not show greedy behavior)
  </code></pre>
  
  <p>while this does not:</p>
  
  <pre><code>select regexp_replace('abc:"123", def:"456", hji="789", dasdjaoijdsa', '(^.*def:")(.*?)(".*$)', '\2') from dual;
  -- output: 456", hji="789 (shows greedy behavior)
  --         I would expect 456 as output.
  </code></pre>
  
  <p>Is there something glaringly obvious that I may be missing here?</p>
  
  <p>Thanks</p>