in reply to PerlMonks Search Regex

I think security would be a huge concern, a 'bad' regex could easily end up doing lots and lots of bad things.

Replies are listed 'Best First'.
Re: Re: PerlMonks Search Regex
by mt2k (Hermit) on Jun 09, 2002 at 01:41 UTC
    Well, concerning security issues, would using \Q and \E not do plenty? The only real problem would be deciding what kind of regexes are allowed and how to enforce them... As I first stated and as belg4mit reinforced, a malicious user could come up with some regex to do so much searching... maybe even something that would kind of loop...