Ruby - Regular Expressions
What will this Ruby code print?
text = "hello world" result = text.match?(/world$/) puts result
text = "hello world" result = text.match?(/world$/) puts result
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions