Vidyalelo
Ruby Programming · Q14

Regular Expressions in Ruby

Programming · Ruby Programming · question 14

Q14

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

A.
Matches any whitespace character
B.
Matches any word character
Answer
C.
Matches any digit character
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board