From: Paul Brannan Date: 2002-03-26T21:43:02+09:00 Subject: Re: RegExp to string On Tue, Mar 26, 2002 at 07:06:13AM +0900, Ralph Mason wrote: > I have been using a simple regexp match to find is a string contains another > string. This has been working fine until the matched string contained a > regexp character. Have you considered using String#include? ? irb(main):004:0> x.include?(y) true irb(main):006:0> x.include?(z) false Paul