Doctrin has asked for the
wisdom of the Perl Monks concerning the following question:
Hello dear Monks!
I suspect that following regex puts the server down (sic, it is executed much times). So, is there something bad in this regex?
I don't know how and why, but if I put if(0) here, all is OK :( I've made the body of condition completely EMPTY for tests to be sure that regex is the case.
So, when I try to browse a page, generated by a script containing this regex - it hangs forever. And if I get rid of this regex - all ok.
Is there any reasonable explanation of that (including my stupidity, maybe)?
UPD: Thanx, problem resolved; the regex was not the case...