add a comment about what it does, the semantics of ignorestr1 and ignorestr2 are not very intuitive.