in reply to Regex, capturing variables vs. speed

Are you sure you're not secretly parsing XML using regex?
  • Comment on Re: Regex, capturing variables vs. speed

Replies are listed 'Best First'.
Re^2: Regex, capturing variables vs. speed
by GrandFather (Saint) on Oct 30, 2005 at 19:24 UTC

    You mean that regex "know" when one is parsing XML and deliberatly and maliciously slow down as a result? That's pretty mean! Perl should at least generate a warning in that situation.


    Perl is Huffman encoded by design.