Is Perl *that* good?

Carl Banks imbosol at aerojockey.invalid
Wed Apr 28 01:29:06 EDT 2004


Roy Smith wrote:
> Carl Banks <imbosol at aerojockey.invalid> wrote:
>> especially because regexps are
>> prone to being used in recursive functions and such
> 
> Why are regexps prone to being used in recursive functions?

Prone was probably a bit too strong a word, but using regexps inside a
recursive function is far from an obscure use.  It can show up in
functions that parse arbitrarily nested text, which typically use
recursion to handle the arbitrarily nested part.


-- 
CARL BANKS                      http://www.aerojockey.com/software
"If you believe in yourself, drink your school, stay on drugs, and
don't do milk, you can get work." 
          -- Parody of Mr. T from a Robert Smigel Cartoon



More information about the Python-list mailing list