That solves the worst problem, certainly, but what about a denial-of-service attack? It's not hard to craft a regex that won't be solved before the heat death of universe. Or one that crashes Perl through stack exhaustion.
-sam
Comment on Re: •Re: Re: Re: How to identify invalid reg. expr.?