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/.