Comment 6 for bug 180209

Dan O'Reilly (oreilldf) wrote :

Just a quick update to this, turns out there is a method built in to the re module that escapes strings for you. So just running re.escape(psk) should do the trick.