Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in K&B SCJP 5: topic Pattern and Matcher methods

 
Franz Fountain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the item in question:
"You should understand the Pattern compile() method and the Matcher matches(), pattern(), find(), start(), and group() methods."

In the current errata there is this:
497....bug.......6th bullet: was matcher() s/b: matches()

I think it should say:
"You should understand the Pattern compile() and matcher() methods and the Matcher pattern(), find(), start(), and group() methods."

That's different from the current errata. Notice also that I removed the matches() method from Matcher since I didn't see any mention of it in K&B. (Although it's fine method and it's parents should be very proud.)
 
You have to be odd to be #1 - Seuss. An odd little ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!