πŸ“Š Ruby
Q. What is the purpose of the * quantifier in a regular expression in Ruby?
  • (A) Matches one or more occurrences of the preceding character
  • (B) Matches one or zero occurrences of the preceding character
  • (C) Matches zero or more occurrences of the preceding character
  • (D) Matches exactly n occurrences of the preceding character
πŸ’¬ Discuss
βœ… Correct Answer: (C) Matches zero or more occurrences of the preceding character

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
110
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
97%
Success Rate