How can you access all the capturing groups in a match in Java?
You can loop through all the groups by using `matcher.group(i)` where `i` ranges from 0 to `matcher.groupCount()`.
Excellent! You've correctly explained how to loop through all the capturing groups using `groupCount()`.
Can you explain how to handle the case where a group might be missing or empty?