add Pattern as a parser