re.compile() method is not part of PyMongo

Signed-off-by: Sam Kleinman <samk@10gen.com>