Update pymodbuilder.py

added (too complicated!) support for building regex module