__init__.py: Added handling for regexs