Also, $stock_symbol = $1; is useless, since you're capturing the entirety of the regexp.Wrong. This is one way to untaint $stock_symbol. You can read more about taint checks in perlsec.
In reply to Re^2: Correct Regex for reading stock symbol?
by martin
in thread Correct Regex for reading stock symbol?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |