What does the subexpression /java(script)?/ result in ?
A
It matches “java” followed by the optional “script”
B
It matches “java” followed by any number of “script”
C
It matches “java” followed by a minimum of one “script”
D
None of the mentioned
Correct Answer: It matches “java” followed by the optional “script”
The subexpression /java(script)?/ matches “java” followed by the optional “script”.