Examveda
Examveda

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

A. Matches any non-whitespace character

B. Matches any digit character

C. Matches any word character

D. Matches any whitespace character

Answer: Option D


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

Join The Discussion

Related Questions on Regular Expressions in Ruby