Serhiy Storchaka added the comment: Here is a patch which unify and improves re error messages. Added tests for all parsing errors. Now error message always points on the start of affected component, i.e. on the start of bad escape, group name or unterminated subpattern.
---------- stage: needs patch -> patch review Added file: http://bugs.python.org/file38035/re_errors.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22364> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com