Fixes regex conversion failure when installed on PyPy.