#15 remove int casting, because using regex check as int.

see #15