Br[CH2:2][C:3]([OH:5])=[O:4].[NH:6]1[CH:10]=[CH:9][CH:8]=[C:7]1[CH:11]=[O:12]>>[CH:11]([C:7]1[N:6]([CH2:2][C:3]([OH:5])=[O:4])[CH:10]=[CH:9][CH:8]=1)=[O:12]In a similar manner, when the halogenated alkanoic acids listed in Table 1 are substituted for bromoacetic acid and reacted with pyrrole-2-carboxaldehyde, the products listed in Table 1 are obtained.