|
After a busy weekend, I am back at this forum.
Well, it seems that the additional quantifier * following the pattern, by which there are different output with groupCount(), we cared is not the essence of the question, even excesses the range of the test issued by sun, especially the SCJP.
Actually, the intention of the question is about to verify the elementary concept of the regular expression, greedy quantifier *, which is a markable concept in the regular expression practically. All the options you need to choose in this question assumed that 6 is the default answer that everyone should know. I just want to make it clear to fill in my knowledge storage. hehe
Thanks for your help, silver. Maybe another theme should be added for us to clear the problems at this question such as the groupCount(). haha |
|