Loosely matching rhymes for error detection code