This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Call Matcher.groupCount() to find how many capturing groups are defined in your pattern.
You've completed the free preview. Subscribe to unlock every lesson in every course.