in reply to Money Regex

duh. I guess this would work.
($test =~ /^(\$?\d+(\.\d{0,2})?|\$?\.\d{1,2})$/)

Please ignore my mental mastication (this thread).