title: Regular expression matching in Python
body: <p>I want to find two similar strings with at least one error.
  I want to use pythons built in re library.</p>
  
  <p>example </p>
  
  <pre><code>import re
  
  re.match(r"anoother","another") #this is None indeed
  </code></pre>
  
  <p>it should return True and find if it has one or two typos.</p>
  
  <p>i have looked for a long re documentations 
  but i have no idea how to use this knowledge when there is one type</p>
  
  <pre><code>a="this is the anoother line\n"
  b="this is the another line\n"
  c=re.search(r"{}".format(a),b) #how to write regex code here? 
  #c =True  #it should return True
  </code></pre>
  
  <p>I expect return <code>True</code></p>
  
  <pre><code>re.any_regex_func(r"anyregex this is anoother line anyregex","this is another line")
  </code></pre>
  
  <p>if it has more than one type return false</p>