sunlightlabs/validictory — pull request #79 by jpmckinney (2014-12-02 06:09:53+00:00)
Title: Allow patterns compiled with re replacements, like regex

Python doesn't support `\p{Lu}`, etc. which is bananas.

Thankfully, `regex` does support them.

However, `re.match(pattern, value)` will blow up if pattern is a compiled `regex` pattern.

This PR stops the blow-up.