This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients ezio.melotti, mrabarnett, pitrou, serhiy.storchaka, vstinner, yselivanov
Date 2014-09-18.17:39:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411061982.07.0.646375842297.issue22437@psf.upfronthosting.co.za>
In-reply-to
Content
While writing a lexer for javascript language, I managed to hit the limit of named groups in one regexp, it's 100.  The check is in sre_compile.py:compile() function, and there is even an XXX comment on this.

Unfortunately, I'm not an expert in this module, so I'm not sure if this check can be lifted, or at least if the number can be bumped to 200 or 500 (why is 100 btw?)

Please share your thoughts.
History
Date User Action Args
2014-09-18 17:39:42yselivanovsetrecipients: + yselivanov, pitrou, vstinner, ezio.melotti, mrabarnett, serhiy.storchaka
2014-09-18 17:39:42yselivanovsetmessageid: <1411061982.07.0.646375842297.issue22437@psf.upfronthosting.co.za>
2014-09-18 17:39:41yselivanovlinkissue22437 messages
2014-09-18 17:39:41yselivanovcreate