Georg Brandl added the comment:
This is very probably a duplicate of #1662581. When testing both your regexes
with the new engine from #2636, the match is not found/found instantaneously.
--
nosy: +georg.brandl
resolution: -> duplicate
status: open -> closed
superseder: -> the re mo
New submission from gnuthor :
The follow code hangs on vanilla compile python 2.7 on Ubuntu 10.04 x86_64 and
all other versions of Python that I could find (i386/x86_64, 2.6.5/2.5.2/2.2):
>>> import re
>>> regex = re.compile(r'^((?:\.\d+)+|(?:\.?\w+(?:\-*\w+)+)+)\.(\d*?)$')
>>> match = regex.ma