I am trying to convert (modify) the terminal hydroxyl (-OH) groups of a polyester i.e. polycaprolactone-diol (PCL-diol) to acrylate group. I am planning to achieve this by reacting the PCL-diol with acryloyl chloride in dichloromethane (DCM) as solvent. Usually a base (proton scavenger) is used for this reaction, most commonly triethylamine (TEA). However, to remove triethylamine from the final product an acid wash is required which makes the extraction process a bit tedious. Hence I wanted to know, can I use 4-dimethyl amino pyridine (DMAP) instead for the same purpose. I intend to retrieve my final product polycaprolactone-diacrylate (PCL-DA) by precipitating it in methanol and since DMAP is soluble in methanol I can easily get rid of it. Any feedback/suggestion would be really helpful and appreciated. Thanks!