{"action":"created","issue":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/173","labels_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/173/comments","events_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/173/events","html_url":"https://github.com/nicolaiarocci/cerberus/issues/173","id":118448798,"number":173,"title":"Configure regex validation to be case insensitive","user":{"login":"luizpericolo","id":366558,"avatar_url":"https://avatars.githubusercontent.com/u/366558?v=3","gravatar_id":"","url":"https://api.github.com/users/luizpericolo","html_url":"https://github.com/luizpericolo","followers_url":"https://api.github.com/users/luizpericolo/followers","following_url":"https://api.github.com/users/luizpericolo/following{/other_user}","gists_url":"https://api.github.com/users/luizpericolo/gists{/gist_id}","starred_url":"https://api.github.com/users/luizpericolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luizpericolo/subscriptions","organizations_url":"https://api.github.com/users/luizpericolo/orgs","repos_url":"https://api.github.com/users/luizpericolo/repos","events_url":"https://api.github.com/users/luizpericolo/events{/privacy}","received_events_url":"https://api.github.com/users/luizpericolo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-23T19:04:48Z","updated_at":"2015-11-24T14:47:55Z","closed_at":null,"body":"I know it is not possible to express case insensitivity flag in the actual regex string in python, so I guess that cerberus could use another attribute to manage this, for instance: regex_case."},"comment":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/comments/159290334","html_url":"https://github.com/nicolaiarocci/cerberus/issues/173#issuecomment-159290334","issue_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/173","id":159290334,"user":{"login":"luizpericolo","id":366558,"avatar_url":"https://avatars.githubusercontent.com/u/366558?v=3","gravatar_id":"","url":"https://api.github.com/users/luizpericolo","html_url":"https://github.com/luizpericolo","followers_url":"https://api.github.com/users/luizpericolo/followers","following_url":"https://api.github.com/users/luizpericolo/following{/other_user}","gists_url":"https://api.github.com/users/luizpericolo/gists{/gist_id}","starred_url":"https://api.github.com/users/luizpericolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luizpericolo/subscriptions","organizations_url":"https://api.github.com/users/luizpericolo/orgs","repos_url":"https://api.github.com/users/luizpericolo/repos","events_url":"https://api.github.com/users/luizpericolo/events{/privacy}","received_events_url":"https://api.github.com/users/luizpericolo/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T14:47:55Z","updated_at":"2015-11-24T14:47:55Z","body":"This does not sound optimal since I'd have to have two versions of my regex, the lower and the upper case version, if I were to use anyof as you suggested. This is bad because If anything on the regex changes I have to change it on the other version aswell."}}