title: Finding single escaped characters
body: <p>I would like to replace some escaping character in a given text. Here what I've tried.</p>
  
  <pre><code>_RE_SPECIAL_CHARS = re.compile(r"(?:[^@\\]|\\.)+@")
  
  text = r"ok@\@.py"
  search = re.search(_RE_SPECIAL_CHARS, text)
  
  print(text)
  
  if search:
      print(_RE_SPECIAL_CHARS.sub("&lt;star&gt;", text))
  
  else:
      print('&lt;&lt; NOTHING FOUND ! &gt;&gt;')
  </code></pre>
  
  <p>This prints :</p>
  
  <pre><code>ok@\@.py
  &lt;star&gt;\@.py
  </code></pre>
  
  <p>What I need to have instead is <code>ok&lt;star&gt;\@.py</code>. </p>