Ruby - Regular Expressions
What does the Ruby match operator
=~ return when the pattern is found in the string?=~ return when the pattern is found in the string?=~ operator returns the index position of the first match in the string if found.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions