擅长:python、mysql、java
<p><code>\1</code>,<code>\2</code>等都是正则表达式<a href="http://www.regular-expressions.info/named.html" rel="nofollow">back-references</a>。任何不采用正则表达式的函数都不应受到此影响。在</p>
<p>您可以使用<strong><a href="http://docs.python.org/2/library/re.html" rel="nofollow">^{<cd3>}</a></strong>来转义那些反斜杠。在</p>
<p><strong>重新逃逸()</strong></p>
<blockquote>
<p>Return string with all non-alphanumerics backslashed; this is useful
if you want to match an arbitrary literal string that may have regular
expression metacharacters in it.</p>
</blockquote>