title: Regex doesn't match what it should
body: <p>I'm trying to filter anything except alphanumeric characters, Russian letters, line breaks, spaces, commas, dots, question marks, exclamation marks, slashes, <code>#</code>, <code>@</code>, colons and parentheses.</p>
  <p>My code so far:</p>
  <pre><code>re.sub(r&quot;[^А-я\w\d&quot;+&quot;\n&quot;+&quot; ,.?!ё/@#:()]&quot;, &quot;&quot;, string)
  </code></pre>
  <p>However, it does not clear the following string: <code>&quot;&quot;</code>.
  Why not, and how can I make it do so?</p>
  <p><strong>Edit:</strong>: Forgot to mention that it works as expected at <a href="https://regexr.com/" rel="nofollow noreferrer">https://regexr.com/</a></p>