Examveda
Examveda

What does the \d character class represent in a regular expression in Ruby?

A. Matches any word character

B. Matches any whitespace character

C. Matches any non-digit character

D. Matches any digit character

Answer: Option D


This Question Belongs to Ruby Programming >> Regular Expressions In Ruby

Join The Discussion

Related Questions on Regular Expressions in Ruby