From: Randy Kramer Date: 2007-10-25T03:26:07+09:00 Subject: Re: string method that takes in a regex On Wednesday 24 October 2007 02:06 pm, Parv G. wrote: > Is there a string method that takes in a regular expression AND returns > a boolean value? > > Looking at the documentation i can't find a method that meets my > requirements (very surprising). Look at the match method (or =~ )--since nil is false and anything else is true, I would think that you could use it. Randy Kramer