title: Python regex for exact match
body: <p>I want to check if my input has a length of {5,50} for any kind of characters.
  I used this code:</p>
  
  <pre><code>re.match('.{5,50}', my_string)
  </code></pre>
  
  <p>the problem is that when there are strings with more than 50 characters it doesn't return None. What should I do?</p>