What does /[^(]* regular expression indicate?
(a) Match one or more characters that are not open parenthesis
(b) Match zero or more characters that are open parenthesis
(c) Match zero or more characters that are not open parenthesis
(d) Match one or more characters that are open parenthesis
(a) Match one or more characters that are not open parenthesis
(b) Match zero or more characters that are open parenthesis
(c) Match zero or more characters that are not open parenthesis
(d) Match one or more characters that are open parenthesis
Correct choice is (c) Match zero or more characters that are not open parenthesis
To explain I would say: The [^…] character class is used to match or draw any one character not between the brackets. One 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.