擅长:python、mysql、java
<p>Python<code>re</code>模块与大多数语言一样(除了.NET的显著例外),不支持可变长度的lookbehind。在</p>
<p>你不能用<a href="http://www.regular-expressions.info/brackets.html" rel="nofollow">capturing group</a>代替吗?在</p>
<pre><code>“[^”]*(</p>\s*<p[^>]*>)
</code></pre>
<p><a href="http://regex101.com/r/iE2lU8" rel="nofollow">first capturing group</a>中的数据。在</p>