http://qs321.pair.com?node_id=11137436


in reply to Re^4: Is it safe to use external strings for regexes? (infinite loops)
in thread Is it safe to use external strings for regexes?

While I like that Perl doesn't allow this to block the engine, I'm not too sure about the solution.

Ignoring regex grammar to silently continue might be worse than throwing an explicit warning.

Alike the "deep recursion" warning if Perl dives 100 times deep into the same sub.

But I don't think I know the RE algebra good enough to tell.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

update

s/1000/100/