from a string or replacing it with another single character. You
might do this with something like \code{re.sub('\e n', ' ', S)}, but
\method{translate()} is capable of doing both tasks
-and will be faster that any regular expression operation can be.
+and will be faster than any regular expression operation can be.
In short, before turning to the \module{re} module, consider whether
your problem can be solved with a faster and simpler string method.