I saw this on a screencast and couldn\'t figure out what it was. Reference sheets just pile it in with other operators as a general pattern match operator.
Well, the reference is correct, it is the "matches this regex" operator.
if var =~ /myregex/ then something end