Chovy's Blog

Web Development with Node.js, Javascript, and HTML5

By

Empty is not a non-digit character in Perl

empty is not a non-digit character “\D”
empty is not a digit character either “\d”

The wrong way to do it:

The correct way to do it:

References: