[docs] Bug in "re.sub" docs

Thomas Waldmann tw-public at gmx.de
Sat Feb 26 23:28:24 CET 2011


http://docs.python.org/library/re.html#re.sub

a) flags param seems to be not there in the implementation

b) "That is, \n is converted to a single newline character, \r is
converted to a linefeed, and so forth."

Obviously, \r is NOT linefeed, but carriage return.




More information about the docs mailing list