Moving re2 to core.