simple string question - the Single quotation marks and Double quotation marks inside the string just make the string into several parts
<p>I need to use a long string for testing regular expression. However, the test string is always altered by the inside quotation marks, which leads to the whole string seperetaed into several parts and some of them are not included into the string, and thus error occurred.</p>

<pre><code>    str1=r"row Id="7" PostTypeId="2" ParentId="4" \n
         CreationDate="2008-07-31T22:17:57.883"\n
         Score="49" ViewCount="0" Body="&lt;p&gt;An explicit cast to double i"  
</code></pre>

<p>Would you pleae tell me how to tackle this? Thanks a lot.</p>
