title: Why does this Regex only match at the start of the line in Python?
body: <p>In Python I can do</p>
  <pre><code>import re
  re.match(&quot;m&quot;, &quot;mark&quot;)
  </code></pre>
  <p>and I get the expected result:</p>
  <pre><code>&lt;_sre.SRE_Match object; span=(0, 1), match='m'&gt;
  </code></pre>
  <p>But it only works if the pattern is at the start of the string:</p>
  <pre><code>re.match(&quot;m&quot;, &quot;amark&quot;)
  </code></pre>
  <p>gives <code>None</code>.  There is noting about that pattern which requires it to be at the start of the string - no <code>^</code> or similar.  Indeed it works as expected on <a href="https://www.regex101.com/" rel="noreferrer">regex101</a>.</p>
  <p>Does Python have some special behaviour - and how do I disable it please?</p>