more than 100 capturing groups in a regex

Jorge Godoy godoy at ieee.org
Tue Oct 25 08:28:29 EDT 2005


"Joerg Schuster" <joerg.schuster at gmail.com> writes:

>> but what is the reason for so much capturing groups?  I
>> imagine that coding this and keeping code maintenable is a huge effort.
>
> User input is compiled to regular expressions. The user does not have
> to worry about those groups.

And what is the problem with something like getopt, optparse, etc.? 

And 10K groups on a single input line?  

-- 
Jorge Godoy      <godoy at ieee.org>



More information about the Python-list mailing list