Subject: regex =~ string or string =~ regex?
From: Ruby Newbee <rubynewbee gmail.com>
Date: Mon, 4 Jan 2010 18:27:32 +0900
Sometime I saw you wrote regex =~ string, while sometime you wrote
string =~ regex.
What's their difference and what's the recommended way? Thanks.
Jenn.