From: "Abinoam Jr." Date: 2011-01-17T18:26:07+09:00 Subject: Re: Comparing a string word by word Could you send your string and regexp? Abinoam Jr. On Mon, Jan 17, 2011 at 5:14 AM, Brajmohan S. wrote: > I am facing a problem where we have to compare two strings. I applied > the regex to match it and it works fine for the string which dont have > space in between. However in case, the matching string containg space, > then its failing. > > Please let me know how to tackle this. > > Thanks in advance. > > -- > Posted via http://www.ruby-forum.com/. > >