M

Mr. Dubey • 97.30K Points
Coach

Q. What is the purpose of the + quantifier in a regular expression in Ruby?

  • (A) Matches zero or one occurrence of the preceding character
  • (B) Matches zero or more occurrences of the preceding character
  • (C) Matches exactly n occurrences of the preceding character
  • (D) Matches one or more occurrences of the preceding character
  • Correct Answer - Option(D)
  • Views: 93
  • Filed under category Ruby

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics