in reply to Re^2: Printing regular expression variable
in thread Printing regular expression variable

"...my own CGI untainting library which uses regular expression variables like qr/^.*$/ to validate incoming data."
Err, your example regex validates nothing; untaints nothing. If it's merely a simple example that occured to you for the purposes of your question, fine; if you believe it's doing something useful, you err.

If you didn't program your executable by toggling in binary, it wasn't really programming!

  • Comment on Re^3: Printing regular expression variable

Replies are listed 'Best First'.
Re^4: Printing regular expression variable
by MattLG (Beadle) on May 28, 2013 at 22:42 UTC
    If it's merely a simple example that occured to you for the purposes of your question, fine

    I thought that was obvious, what would be the point of tainting the input and then just using ^.*$ on everything?

    MattLG