Ruby - Regular Expressions
What does a capture group do in a Ruby regular expression like
/(\d{3})-(\d{2})/?/(\d{3})-(\d{2})/?/(\d{3})-(\d{2})/ has two capture groups for three digits and two digits separated by a dash.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions