in reply to Re: Correct Regex for reading stock symbol?
in thread Correct Regex for reading stock symbol?
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 Section
Seekers of Perl Wisdom