more useful options | |
PerlMonks |
Re^5: Is it safe to use external strings for regexes? (infinite loops)by LanX (Saint) |
on Oct 11, 2021 at 22:45 UTC ( [id://11137436]=note: print w/replies, xml ) | Need Help?? |
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
updates/1000/100/
In Section
Seekers of Perl Wisdom
|
|