Simple regex cookbook run with python