title: Telnetlib, bytestrings, and "invalid escape sequence"
body: <p>I'm using <code>telnetlib.expect()</code> to interface with a device that responds in bytestrings, apparently. Unless I use bytestrings in the regex passed to <code>expect()</code> (either precompiled, or literals), an exception is generated: <code>TypeError: cannot use a string pattern on a bytes-like object</code>. However, <code>pycodestyle</code> complains this is <code>W605 invalid escape sequence '\d'</code>, and further reading makes me think this will become a Python syntax error in the future.</p>
  
  <p>In summary:</p>
  
  <pre><code>telnetlib.expect([b'\d']) # OK, but W065
  telnetlib.expect(['\d'] # TypeError
  telnetlib.expect([r'\d'] # TypeError
  </code></pre>
  
  <p>Is there a way through this, or is pycodestyle simply wrong?</p>
  
  <p>(BTW, can't seem to suppress the W065 in pycodestyle, other than suppressing all warnings.)</p>