removed calls to regex due to c_src compile/version issues