parser should return is match