http://qs1969.pair.com?node_id=11137282


in reply to Re: Is it safe to use external strings for regexes?
in thread Is it safe to use external strings for regexes?

Use taint or no https://perldoc.perl.org/re#'eval'-mode

Replies are listed 'Best First'.
Re^3: Is it safe to use external strings for regexes?
by perlfan (Vicar) on Oct 13, 2021 at 20:08 UTC
    I also took the meat of this question to be about accepting user input, then throwing that into a regex - only to say, don't trust user input directly - as always. There's only one mention of taint in this whole thread, and I am replying to it. :-)