Hi,
I am not clear on the Regex question (page 508 Question 1) from K&B 5 book
To uderstad I tried writing a similar program.
Lets say I give the followig commad line Java Regex "\d*" a
I get
0space
1space
I see that it is searchig for digits ad it finds 0 matches first time and prints postion 0 (search index 0). Then because we said * the start method returns to the previous index 0 now how come it goes to the postion 1 when there is only 1 charecter in the search strig.