re2 consume API