Implement naive length, email, base64, and regex