test: add test for type RegExp
feat: add type regexp to schema validation
chore: update readme