title: Regular expression: how to match a string containing "\n" (newline)?
body: <p>I'm trying to dump data from a SQL export file with regular expression. To match the field of post content, I use '<code>(?P&lt;content&gt;.*?)</code>'. It works fine most of the time, but if the field contains the string of '\n' the regular expression wouldn't match. How can I modify the regular expression to match them? Thanks!</p>
  
  <p>Example(I'm using Python):</p>
  
  <pre><code>&gt;&gt;&gt; re.findall("'(?P&lt;content&gt;.*?)'","'&lt;p&gt;something, something else&lt;/p&gt;'")
  ['&lt;p&gt;something, something else&lt;/p&gt;']
  
  &gt;&gt;&gt; re.findall("'(?P&lt;content&gt;.*?)'","'&lt;p&gt;something, \n something else&lt;/p&gt;'")
  []
  </code></pre>
  
  <p>P.S. Seemingly all strings with '\' in the front are treated as escape characters. How can I tell regx to treat them as they are?</p>