title: regular expression for c# verbatim like strings (processing ""-like escapes)
body: <p>I'm trying to extract information out of rc-files. In these files, "-chars in strings are escaped by doubling them ("") analog to c# verbatim strings. is ther a way to extract the string?</p>
  
  <p>For example, if I have the following string <b>"this is a ""test"""</b> I would like to obtain <b>this is a ""test""</b>. It also must be non-greedy (very important).</p>
  
  <p>I've tried to use the following regular expression;</p>
  
  <pre><code>"(?&lt;text&gt;[^""]*(""(.|""|[^"])*)*)"
  </code></pre>
  
  <p>However the performance was awful.
  I'v based it on the explanation here: <a href="http://ad.hominem.org/log/2005/05/quoted_strings.php" rel="nofollow">http://ad.hominem.org/log/2005/05/quoted_strings.php</a></p>
  
  <p>Has anybody any idea to cope with this using a regular expression?</p>