R. David Murray added the comment:

re.escape was escaping too much previously, and this has been fixed in 3.7 (and 
only 3.7, because it may cause testing issues such as you have observed).  See 
issue 29995.

A note needs to be added to the 'porting' section of whats new covering this.

----------
assignee:  -> docs@python
components: +Documentation -Regular Expressions
nosy: +docs@python, r.david.murray, serhiy.storchaka
stage:  -> needs patch
title: change in interface for compiled regex.pattern -> change in re.escape 
output is not docuented in whatsnew
type:  -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30147>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to