Q. What does /[^(]* regular expression indicate ?

  • (A) Match one or more characters that are not open paranthesis
  • (B) Match zero or more characters that are open paranthesis
  • (C) Match zero or more characters that are not open paranthesis
  • (D) Match one or more characters that are open paranthesis
πŸ’¬ Discuss
βœ… Correct Answer: (C) Match zero or more characters that are not open paranthesis
Explanation: We should always be careful while using * and ? as repetition characters as they may match zero instances of whatever precedes them, they are allowed to match nothing.
Explanation by: Mr. Dubey
We should always be careful while using * and ? as repetition characters as they may match zero instances of whatever precedes them, they are allowed to match nothing.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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