Examveda
Examveda

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

A. Matches the start of a string

B. Matches the start of a line

C. Matches the end of a string

D. Matches the start of a string

Answer: Option B


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

Join The Discussion

Related Questions on Regular Expressions in Ruby