This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.util.regex.*; methods

 
Rafi Fareen
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,

almost prepared for the exam, but still i feel that my knowledge ore regex is not sufficient.

how the pattern matching exactly take place, any real life examples.

besides the find() method returns true if it finds a match and the start() method will get the index of the match, what about end() and group() methods.

\d* (means either zero or more occurrences of digits).

regards,

Note: I don't find myself confident on regex and garbage collection (especially when arrays are involved), still have to appear for the exam this Saturday.
 
Mark Moge
Ranch Hand
Posts: 100
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try java tutorial about regex here
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic