python regular expression re.search(r"([a-z]+[A-Z]+[0-9]+)", password)
<p>python 2.7</p>

<pre><code>&gt;&gt;&gt;import re
&gt;&gt;&gt;password="ULFFunH8ni"
&gt;&gt;&gt;re.search(r"([a-z]+[A-Z]+[0-9]+)", password)
&lt;_sre.SRE_Match object at 0x7ff5ffd075d0&gt;
</code></pre>

<p>can match
but when</p>

<pre><code>&gt;&gt;&gt;password="Fa11con77YES"
&gt;&gt;&gt;re.search(r"([a-z]+[A-Z]+[0-9]+)", password)
&gt;&gt;&gt;
</code></pre>

<p>can't match, I don't know why, can someone help me? thanks!</p>