Fix type check regexp
Merge pull request #53 from golyshevd/check

Fix type check regexp