Brett Cannon added the comment:
If you chop out a bunch of the text it finishes fine.
I more succinct example that triggers the infinite recursion is
necessary before I will believe this is not just because the regex has
horrible performance thanks to its backtracking requirements.
Andres Riancho
added the comment:
I think this should be reopened. The findall call is running for 3 hours
now. I think that it's a clear case of an infinite loop.
__
Tracker <[EMAIL PROTECT
Andres Riancho
added the comment:
Have you tested it ?
Is the re.findall() finishing it's work ? I left it working for 5
minutes or more, and got no response.
Cheers,
__
Tracker <[EMAIL PRO
Brett Cannon added the comment:
I am not convinced this an infinite loop but more of a poor-performing
regex over a large string.
You have three greedy quantifiers in that regex. That means the first
one is going to consume the entire file, and then you begin back-off
looking for '://'. Once t