diff options
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/regex.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/regex.tex b/Doc/howto/regex.tex index 5a65064..87fdad2 100644 --- a/Doc/howto/regex.tex +++ b/Doc/howto/regex.tex @@ -1313,7 +1313,7 @@ Another common task is deleting every occurrence of a single character 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. |