Ruby - Regular Expressions
What does the Ruby
match method return when it finds a pattern in a string?match method return when it finds a pattern in a string?matchmatch method searches a string for a pattern and returns information about the match.MatchData object, which holds details like matched text and position.MatchData object containing details of the match -> Option Amatch returns MatchData [OK]match returns MatchData, not just string [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions