in reply to Re^2: Extracting the number of repetitions
in thread Extracting the number of repetitions from a regex

Sorry, I was wrong :( Try use re 'debug'; for ideas

Replies are listed 'Best First'.
Re^4: Extracting the number of repetitions
by pat_mc (Pilgrim) on Dec 18, 2008 at 20:53 UTC
    Thanks, Anonymous Monk ...

    The regex debug output does indeed provide lots of feedback ... a look right into the inner workings of the regex engine. I have to admit, however, I am not sure how this information contributes to solving my initial problem - apart, maybe, from the fact that it only contains one Compiling RExstatement statement - contrary to my initial belief that the regex would get compiled anew on each loop-iteration.

    Let me know if I am overlooking anything here: