add mysql+pymysql regex to resource