This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes regex problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "regex problem" Watch "regex problem" New topic
Author

regex problem

joshua antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 117


The output is 012456. Where does this 6 come from. I thought the output should be 012345. m.start() for f is 5; so from where did 6 come?
Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
Your question is discussed Here
joshua antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 117
Thank you,
That was really helpful.
 
Have you checked out Aspose?
 
subject: regex problem
 
jQuery in Action, 3rd edition