Aldwin Pollefeyt <aldwinald...@gmail.com> added the comment:

When I run the regex on https://regex101.com/, after some small adjustments 
("HTTP\/1\.0" and "\/head"), it mentions 'Catastrophic backtracking has been 
detected and the execution of your expression has been halted.' I don't know 
much about regex, but it seems there is some eternal loop or something.

I'd suggest to try to make the regex work first on other regex compiler, before 
calling it a python bug.

----------
nosy: +aldwinaldwin

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

Reply via email to