so I think this is something that broke in Python.
See: https://centos.pkgs.org/7/centos-x86_64/python-2.7.5-58.el7.x86_64.rpm.html
2017-01-18 - Charalampos Stratakis <email address hidden> - 2.7.5-50 - Fix incorrect parsing of certain regular expressions Resolves: rhbz#1373363
https://bugzilla.redhat.com/show_bug.cgi?id=1373363
So when upgrading from centos 7.3 to centos 7.4, we upgraded Python from python-2.7.5-48.el7.x86_64 to python-2.7.5-58.el7.x86_64, which contains the patch in 2.7.5-50.
so I think this is something that broke in Python.
See: https:/ /centos. pkgs.org/ 7/centos- x86_64/ python- 2.7.5-58. el7.x86_ 64.rpm. html
2017-01-18 - Charalampos Stratakis <email address hidden> - 2.7.5-50
- Fix incorrect parsing of certain regular expressions
Resolves: rhbz#1373363
https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1373363
So when upgrading from centos 7.3 to centos 7.4, we upgraded Python from python- 2.7.5-48. el7.x86_ 64 to python- 2.7.5-58. el7.x86_ 64, which contains the patch in 2.7.5-50.