Integrated regex processor into main code base via function call in modeslist.py