moved regex to a constant