filter commented patterns