Support hexadecimal values.
Better check: Add ^ and $ anchors.
Merge pull request #32 from tienvx/master

Support hexadecimal values.