moved regex to "re" library, updated docgen