From: Sebastian Hungerecker Date: 2008-07-24T05:58:36+09:00 Subject: Re: using (word|other) in str.include? James Dinkel wrote: > do something if mystring.include?("something (word1|word2): something") It surprises me quite a bit that that ever worked. Here's what should work: do something if mystring =~ /something (word1|word2): something/ HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826