Sebastian Hungerecker
7/23/2008 8:59:00 PM
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