my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes java.util.regex.*; methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "java.util.regex.*; methods" Watch "java.util.regex.*; methods" New topic
Author

java.util.regex.*; methods

Rafi Fareen
Ranch Hand

Joined: Aug 28, 2009
Posts: 75
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

Joined: Mar 14, 2009
Posts: 96

Try java tutorial about regex here


SCJP6 | http://programmerutilities.blogspot.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.util.regex.*; methods
 
Similar Threads
regex problem
detect special characters in a string
Need help in understanding greedy, reluctant quantifiers in regular expressions??
doubt on group() in Matcher class
Greedy quantifier