Add missing import of 're'.
For some reason, this causes test failures on SLES11 SP2 but not on openSUSE 12.1.