1. A content-addressable memory, comprising: a plurality of entries, each of the plurality of entries configured to match a lookup word, each of the plurality of entries including a plurality of cells, the lookup word including a plurality of lookup bits for matching corresponding said cells, each of said cells individually configurable to be in one of a plurality of states identified by two bits, said states including a first matching state for matching a value of a corresponding bit of the lookup word with the value having a first matching value, a second matching state for matching the value of the corresponding bit having a second matching value, a wildcard state for matching the value of the corresponding bit having either the first or the second matching value, and an ignore state for indicating to ignore the cell in determining whether or not the entry to which the cell belongs matches the lookup word; and result matching logic configured to identify a matching result for each of the plurality of entries compared with the lookup word; wherein said result matching logic is configured to identify a miss as said matching result for each entry of said entries having all of its said cells in the ignore state.