does the special group or group 0 is included while coupling groups using the groupCount in java.
Answer options
A
True
B
False
Correct answer: False
Explanation
Java's Matcher.groupCount() returns the number of capturing groups in the pattern, explicitly excluding group 0 (which represents the entire match). So group 0 is NOT included.