Serhiy Storchaka added the comment: > The code patch adds '^[ \t\f]' to the re. \f = FormFeed? Should that really > be there? The PEP patch instead adds '^[ \t\v]', \v= VerticalTab? Same > question, and why the difference?
Good catch. I missed in the PEP patch, it should be '\f' ('\014') in all cases. Yes, it should be. It corresponds to the code in Parser/tokenizer.c. ---------- Added file: http://bugs.python.org/file31655/pep0263_regex.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18873> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com