From: Ehsanul Hoque Date: 2009-09-30T05:23:15+09:00 Subject: Match a long string in Ruby despite a few typing errors --_39267d7c-995b-4138-899d-fa07dd179cfc_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I'd like to match a string to another=2C and recognize the match even if th= ere are a few typing errors. These errors could include omission of a lette= r/space/punctuation mark=2C an extra letter or a mistyped letter. I don't r= equire it to detect multiple errors in a row=2C or in a single word. The st= ring would be comparable to the length of this paragraph=2C a little shorte= r=2C in case that matters I could come up with some basic implementation for this=2C but it seems li= ke a little too much to do for something like this. I was wondering if ther= e was a simple way to do this=2C a gem perhaps? Thanks=20 -Ehsan =0A= _________________________________________________________________=0A= Lauren found her dream laptop. Find the PC that=92s right for you.=0A= http://www.microsoft.com/windows/choosepc/?ocid=3Dftp_val_wl_290= --_39267d7c-995b-4138-899d-fa07dd179cfc_--