A test for creating a Python regex library