I want to make a case sensitive comparision like this:
If ARGV[0].eql? /word/i
print "yep! ^^"
elsif
print "nope :("
end
But that don’t works… Don’t recognizes “word”
I’ve tryed too quoteing and escaping chars…
What i’m doing wrong?
Thankyou
Probably you should use =~ operator, then
works fine
http://www.regular-expressions.info/ruby.html