Why not just send the regex here?  If the <a> tagis there, the comment is there.  Anyway, I don't see why this is necessary.  Just use commen_load().