Vidyalelo
Ruby Programming · Q12

Regular Expressions in Ruby

Programming · Ruby Programming · question 12

Q12

What does the anchor represent in a regular expression in Ruby?

A.
Matches a non-word character
B.
Matches a non-word boundary
C.
Matches a word character
D.
Matches a word boundary
Answer

Answer: Option D

Solution

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