Move regex in a constant