fix parsing bug in patternlistmatcher