s/sre/re/ to be compatible with newer python versions