From: David Corbin Date: 2002-02-18T10:31:36+09:00 Subject: x =~ /pat/, "return type?" When I say: "if (x =~ /pat/)" everything is OK. When I trty to pass this expression as an argument to a method expecting TrueClass or FalseClass, I get a problem. I assume that this expression is an Array of "backreferences". Is this correct? If so, how can "coerce" this to be a boolean as one uses in the if.? Thanks.