in reply to
Regular Expression Currency Check
I
think
you're forgetting that "." in a regex matches ANY character (except newline, in this case)
You need to escape it - try "\." instead.
"What should it profit a man, if he should win a flame war, yet lose his cool?"
Comment on
Re: Regular Expression Currency Check
In Section
Seekers of Perl Wisdom