more than 100 capturing groups in a regex

Frithiof Andreas Jensen frithiof.jensen at die_spammer_die.ericsson.com
Tue Oct 25 05:04:08 EDT 2005


"Joerg Schuster" <joerg.schuster at gmail.com> wrote in message
news:1130225565.592108.197670 at z14g2000cwz.googlegroups.com...
> Some people, when confronted with a problem, think "I know,
> I'll use regular expressions." Now they have two problems.
> --Jamie Zawinski

Thanks for the citation.

If my goal had been to redesign my program, I would not ask questions
about regular expressions. I do not have the time to redesign my
program. And knowing that my situation would be better, if I had
written other code in the past, does not help me at all.

Experience shows that, in any project, there is always time redo what was
not made properly the first time a deadline was dreamed up.

I just want to use more than 100 capturing groups. If someone told me
that it is very unlikely for Python to get rid of the said limitation,
I would recode part of my program in C++ using pcre.

See!? There *is* Time.






More information about the Python-list mailing list