title: Security of regular expressions
body: <p>Say that I want to let a user input whichever regular expression he wants, and a string to match, and I will check whether it matches using Python's <code>re.compile</code>. Is that secure? Is there a way for a malicious user to crash or get remote execution by passing in specially-crafted strings?</p>