From: Old Echo Date: 2008-09-05T05:58:01+09:00 Subject: Re: String#match vs. Regexp#match - confused Thanks Adam! Yeah...turns out I didn't read the ri docs carefully enough. On the String class, #match takes a regex and compares the original string to that. On the Regexp class, #match takes a string and compares the pattern to that string. -- Posted via http://www.ruby-forum.com/.