Vidyalelo
Ruby Programming · Q16

Regular Expressions in Ruby

Programming · Ruby Programming · question 16

Q16

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

A.
Matches the start of a string
B.
Matches the end of a string
C.
Matches the start of a line
D.
Matches the end of a line
Answer

Answer: Option D

Solution

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