Hello everyone,
I'm very puzzled by the following:

a = ".*me"
b = /.*me/
test = "dont_ignore.me.fixture"

a.match(test)
=> nil
b.match(test)
=> #<MatchData:0x350fe8>

Huh? When looking through the ri documentation for the "match" method on
the String class, it says it take the contents of the String and
converts it to a regexp before doing a match.

So...how come the two matches do not return the same result? And even
more importantly, how can I make sure that they do?

Thank you,
Sebastian
-- 
Posted via http://www.ruby-forum.com/.