Ruby - Regular Expressions
Identify the problem in this Ruby code:
pattern = /abc/ text = "xyzabc" if text =~ pattern puts "Match found" else puts "No match" end
