From: Bill Kelly Date: 2001-10-09T19:27:03+09:00 Subject: [ruby-talk:22294] Re: Fuzzy string match upgrade needed From: "Bill Kelly" [...] Also, with the 'tokenizer' version the following > for idx in 0..list1.size do > token1 = list1[idx] > token2 = list2[idx] > > if token1 == nil then > return token2 == nil > end > > if token2 == nil then > return token1 == nil > end could be for idx in 0...list1.size do token1 = list1[idx] token2 = list2[idx] return false if token2 == nil Bill