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
s/1000/100/
In reply to Re^5: Is it safe to use external strings for regexes? (infinite loops)
by LanX
in thread Is it safe to use external strings for regexes?
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |