Add override for regex

Trove classifier includes Python 3 versions and the PyPI page makes
references to various behaviour that is different in Python 3.