How to merge lines split with "\" at the very end with Python? : <p>I am now parsing some text. Some lines are very long such that they are splitted into several sub-lines with a "\" at the very end.</p>

<p>I try to use regular expression to merge these sub-lines. However the escaped character "\n" and "\" make me confusing.</p>

<p>Can someone show me how to accomplish this task with Python?</p>
