in reply to
Re: Regex Dangerous??
in thread
Regex Dangerous??
Well, you'll get server errors for a lot more than that. Any invalid regex will bollux you. What you need to do is wrap it in an eval block, and capture the $@ variable. Standard exception-handling stuff.
--
Randal L. Schwartz, Perl hacker
Comment on
Re: Re: Regex Dangerous??
In Section
Seekers of Perl Wisdom